Received: from ruault1.planetweb.com (ip77.planetweb.com [206.86.40.77]) by hub.org (8.9.1/8.9.1) with ESMTP id PAA21242; Tue, 17 Nov 1998 15:25:40 -0500 (EST) (envelope-from cruault@planetweb.com) Received: from planetweb.com (charlus@localhost [127.0.0.1]) by ruault1.planetweb.com (8.8.7/8.8.7) with ESMTP id MAA02868; Tue, 17 Nov 1998 12:26:13 -0800 Sender: charlus@ruault1.planetweb.com Message-ID: <3651DBE3.20A775E1@planetweb.com> Date: Tue, 17 Nov 1998 20:26:11 +0000 From: Charles-Edouard Ruault Organization: PlanetWeb X-Mailer: Mozilla 4.5 [en] (X11; I; Linux 2.0.36 i586) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-general@postgresql.org, pgsql-interfaces@postgresql.org Subject: problem of upper/lower case in table names Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, i've got this annoying problem : if you create a table with an uppercase name, postgres transforms it in lower case. After that, if you try to retrieve the primary keys for this table ( still using the uppercase name as argument ) using the JDBC driver DatabaseMetaData.getPrimaryKeys(), it always return an empty result set since the SQL command used in the driver requests a case sensitive match for the table name ( and bc.relname ~ table ). I've a workaround in the driver ( using bc.relname ~* table ) but i'd like to know who's fault it is ( mine or postgres ) .... Thanks for your advices & help NB : i'm using postgres 6.4 with jdbc driver included in this release.