On Wed, 25 May 2005, Giuseppe Sacco wrote:
> 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.
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.
In response to
pgsql-jdbc by date
|Next:||From: Dave Cramer||Date: 2005-05-25 17:49:34|
|Subject: Re: BIGINT <-> java.lang.String auto cast|
|Previous:||From: Giuseppe Sacco||Date: 2005-05-25 15:13:43|