Received: from skate.tripwire.com (relay.tripwiresecurity.com [207.109.47.66]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAQHsBm16790 for ; Mon, 26 Nov 2001 12:54:11 -0500 (EST) (envelope-from gelbardn@tripwire.com) Received: from gobi.tripwire.com (unverified) by skate.tripwire.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Mon, 26 Nov 2001 09:48:41 -0800 Received: from hoppy.qa.tripwire.com ([10.69.1.9]) by gobi.tripwire.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XLM2KZNC; Mon, 26 Nov 2001 09:57:06 -0800 Received: from tripwire.com (fishtaco.tripwire.com [10.150.1.41]) by hoppy.qa.tripwire.com (8.11.6/8.11.2) with ESMTP id fAQHsCB15314 for ; Mon, 26 Nov 2001 09:54:12 -0800 Message-ID: <3C028340.2010003@tripwire.com> Date: Mon, 26 Nov 2001 10:00:32 -0800 From: Nate Gelbard User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 X-Accept-Language: en-us MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: JDBC bug? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200111/261 X-Sequence-Number: 2458 Hi, I've found an annoyance with the postgresql JDBC driver (from the 7.1.3 release). Pardon if this has been asked before, but the web archives are offline... In org/postgresql/jdbc2/DatabaseMetaData.java, there are several lines that call toLowerCase() on the table string names. This causes 'table unknown' erros when accessing tables with mixed case in the name. This popped out at me when trying to use the XML-DBMS package and also DbVisualizer. Also, when using the pgsql shell, \d createdBy returns table unknown, but \d "createBy" returns the right info. So does postgres not support mixed case in table names, or the backend does but the clients dont, or what? nate