DatabaseMetaData.getExtraNameCharacters - Mailing list pgsql-jdbc

From Giuseppe Sacco
Subject DatabaseMetaData.getExtraNameCharacters
Date
Msg-id 1117034023.27493.10.camel@localhost
Whole thread Raw
Responses Re: DatabaseMetaData.getExtraNameCharacters
List 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


pgsql-jdbc by date:

Previous
From: hiuguis@iteso.mx
Date:
Subject: Re: Problem catching multiple values
Next
From: Kris Jurka
Date:
Subject: Re: DatabaseMetaData.getExtraNameCharacters