<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 200: PostgreSQL Mixed-Case Schema Names Not Quoted in Queries (RowCount)</title><link href="https://sourceforge.net/p/schemaspy/bugs/200/" rel="alternate"/><link href="https://sourceforge.net/p/schemaspy/bugs/200/feed.atom" rel="self"/><id>https://sourceforge.net/p/schemaspy/bugs/200/</id><updated>2019-01-17T05:34:47.856000Z</updated><subtitle>Recent changes to 200: PostgreSQL Mixed-Case Schema Names Not Quoted in Queries (RowCount)</subtitle><entry><title>#200 PostgreSQL Mixed-Case Schema Names Not Quoted in Queries (RowCount)</title><link href="https://sourceforge.net/p/schemaspy/bugs/200/?limit=25#5ed8" rel="alternate"/><published>2019-01-17T05:34:47.856000Z</published><updated>2019-01-17T05:34:47.856000Z</updated><author><name>G_Hosa_Phat</name><uri>https://sourceforge.net/u/ghosaphat/</uri></author><id>https://sourceforge.net208d6e3d806848981b3394bbaeff6e6882955bc1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Example from logs:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;java -jar "&amp;lt;PATH&amp;gt;\schemaSpy.jar" -t pgsql -host &amp;lt;SERVERNAME&amp;gt;:&amp;lt;PORT&amp;gt; -u &amp;lt;USERNAME&amp;gt; -p &amp;lt;PASSWORD&amp;gt; -db &amp;lt;DBNAME&amp;gt; -all -noviews -ahic -dp "&amp;lt;PATH&amp;gt;\postgresql-42.1.4.jar" -gv "C:\Program Files (x86)\Graphviz2.38" -hq -o "C:\SchemaSpy\"

23:22:45.116 WARNING: Table.initColumnAutoUpdate - Failed to determine auto increment status: org.postgresql.util.PSQLException: ERROR: **relation "test.Notes" does not exist**
  Position: 15
23:22:45.116 WARNING: Table.initColumnAutoUpdate - SQL: **select * from Test."Notes" where 0 = 1**

23:22:46.180 WARNING: Table.fetchNumRows - Unable to extract the number of rows for table Notes, using '-1'
23:22:46.180 WARNING: Table.fetchNumRows - org.postgresql.util.PSQLException: ERROR: **relation "test.Notes" does not exist**
  Position: 22
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>PostgreSQL Mixed-Case Schema Names Not Quoted in Queries (RowCount)</title><link href="https://sourceforge.net/p/schemaspy/bugs/200/" rel="alternate"/><published>2019-01-17T05:10:16.641000Z</published><updated>2019-01-17T05:10:16.641000Z</updated><author><name>G_Hosa_Phat</name><uri>https://sourceforge.net/u/ghosaphat/</uri></author><id>https://sourceforge.netdd4ee665c5d3f52d0b03aabd5751bcce9aaf4266</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;As stated, when SchemaSpy attempts to get the row count for tables in a schema with a name that has mixed-case characters ("SchemaName" instead of "schemaname"), the query fails and returns a value of -1 for all tables in that schema.  Looking at the analysis logs, it appears that the schema name is not enclosed in quotes, whereas the table name is properly quoted.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>