From: Giuseppe Sacco <giuseppe@eppesuigoccas.homedns.org>
To: pgsql-jdbc@postgresql.org
Subject: DatabaseMetaData.getExtraNameCharacters
Date: Wed, 25 May 2005 17:13:43 +0200
Message-ID: <1117034023.27493.10.camel@localhost> (raw)
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 è or ò, 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
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: <1117034023.27493.10.camel@localhost>
References: <1117034023.27493.10.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