From: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: DatabaseMetaData.getExtraNameCharacters
Date: Wed, 25 May 2005 20:10:22 +0200
Message-ID: <1117044622.27459.28.camel@localhost> (raw)
In-Reply-To: <Pine.BSO.4.56.0505251204190.29241@leary.csoft.net>
References: <1117034023.27493.10.camel@localhost>
<Pine.BSO.4.56.0505251204190.29241@leary.csoft.net>
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 encoding
> to be used in an unquoted identifier, so trying to list them all would be
> 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: $%&#^°§[} ...
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: giuseppe@eppesuigoccas.homedns.org
Subject: Re: DatabaseMetaData.getExtraNameCharacters
In-Reply-To: <1117044622.27459.28.camel@localhost>
References: <1117034023.27493.10.camel@localhost> <Pine.BSO.4.56.0505251204190.29241@leary.csoft.net> <1117044622.27459.28.camel@localhost>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox