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 9112D5288A for ; Wed, 25 May 2005 15:11:49 -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 66908-02 for ; Wed, 25 May 2005 18:11:31 +0000 (GMT) Received: from vsmtp3.tin.it (vsmtp3alice.tin.it [212.216.176.143]) by svr1.postgresql.org (Postfix) with ESMTP id 7831352875 for ; Wed, 25 May 2005 15:11:30 -0300 (ADT) Received: from casa (80.117.81.220) by vsmtp3.tin.it (7.0.027) (authenticated as giuseppe.sacco17@tin.it) id 42920E800010AC6E for pgsql-jdbc@postgresql.org; Wed, 25 May 2005 20:11:30 +0200 Received: from eppesuig3wifi ([192.168.2.51] ident=giuseppe) by casa with esmtpsa (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.50) id 1Db0Lt-0005kR-MT for pgsql-jdbc@postgresql.org; Wed, 25 May 2005 20:11:33 +0200 Subject: Re: DatabaseMetaData.getExtraNameCharacters From: Giuseppe Sacco To: "pgsql-jdbc@postgresql.org" In-Reply-To: References: <1117034023.27493.10.camel@localhost> Content-Type: text/plain; charset=ISO-8859-15 Organization: Giuseppe Sacco Consulting Date: Wed, 25 May 2005 20:10:22 +0200 Message-Id: <1117044622.27459.28.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.26 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, TO_ADDRESS_EQ_REAL X-Spam-Level: X-Archive-Number: 200505/108 X-Sequence-Number: 12939 Hi Kris, Il giorno mer, 25-05-2005 alle 12:08 -0500, Kris Jurka ha scritto: [...] > Postgresql allows pretty much any character that is valid in your encodin= g > to be used in an unquoted identifier, so trying to list them all would be= =20 > impossible, but there should be no problem using them. Thanks for your reply, but I would really like to have a list of valid or invalid characters in order to test the string before executing the statement. There are characters that should be excluded: $%&#^=B0=A7[} ... If the valid characters list is really huge, is there any list of invalid characters and a JDBC3.0 method that return it? I checked that mySQL gives '#$' as result string. What are the results given by other JDBCs? Bye, Giuseppe