X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7F93C5287E for ; Wed, 25 May 2005 12:14:54 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 17503-05 for ; Wed, 25 May 2005 15:14:49 +0000 (GMT) Received: from vsmtp1.tin.it (vsmtp1.tin.it [212.216.176.141]) by svr1.postgresql.org (Postfix) with ESMTP id 98FED5287A for ; Wed, 25 May 2005 12:14:46 -0300 (ADT) Received: from casa (80.117.81.220) by vsmtp1.tin.it (7.0.027) (authenticated as giuseppe.sacco17@tin.it) id 42920F9D000F60C6 for pgsql-jdbc@postgresql.org; Wed, 25 May 2005 17:14:44 +0200 Received: from eppesuig3 ([192.168.2.50] ident=giuseppe) by casa with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.50) id 1Daxaj-0005RA-Ur; Wed, 25 May 2005 17:14:41 +0200 Subject: DatabaseMetaData.getExtraNameCharacters From: Giuseppe Sacco To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-15 Organization: Giuseppe Sacco Consulting Date: Wed, 25 May 2005 17:13:43 +0200 Message-Id: <1117034023.27493.10.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200505/105 X-Sequence-Number: 12936 Hi all, We are developing a very simple application that permits users to define their own tables. We would like to leave the user the freedom to use any characters for table and field identifiers. We tried using accented letters, like =E8 or =F2, and it works. Then we saw the method java.sql.DatabaseMetaData.getExtraNameCharacters() and we thought about verifing our identifiers against this method. The problem is that getExtraNameCharacters() returns an empty string, at least using a 7.4 jdbc driver. Is this the right behaviour? (I mean: should we refrain to use "strange" letters?) Thanks a lot, Giuseppe