Skip site navigation (1) Skip section navigation (2)

DatabaseMetaData.getExtraNameCharacters

From: Giuseppe Sacco <giuseppe(at)eppesuigoccas(dot)homedns(dot)org>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: DatabaseMetaData.getExtraNameCharacters
Date: 2005-05-25 15:13:43
Message-ID: 1117034023.27493.10.camel@localhost (view raw or flat)
Thread:
Lists: pgsql-jdbc
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


Responses

pgsql-jdbc by date

Next:From: Kris JurkaDate: 2005-05-25 17:08:51
Subject: Re: DatabaseMetaData.getExtraNameCharacters
Previous:From: hiuguisDate: 2005-05-25 15:00:03
Subject: Re: Problem catching multiple values

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group