Re: [INTERFACES] problem of upper/lower case in table names

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] problem of upper/lower case in table names
Дата
Msg-id Pine.LNX.3.96.981118064117.5727A-100000@maidast.retep.org.uk
обсуждение исходный текст
Ответ на problem of upper/lower case in table names  (Charles-Edouard Ruault <cruault@planetweb.com>)
Список pgsql-interfaces
On Tue, 17 Nov 1998, Charles-Edouard Ruault wrote:

> Hi all,
>
> i've got this annoying problem : if you create a table with an uppercase
> name, postgres transforms it in lower case. After that, if you try to
> retrieve the primary keys for this table ( still using the uppercase
> name as argument ) using the JDBC driver
> DatabaseMetaData.getPrimaryKeys(), it always return an empty result set
> since the SQL command used in the driver requests a case sensitive match
> for the table name ( and bc.relname ~ table ).
> I've a workaround in the driver ( using bc.relname ~* table ) but i'd
> like to know who's fault it is ( mine or postgres ) ....
> Thanks for your advices & help

It looks like the drivers. I'll check both this and the primary key
problem today, and will get back to you.

>
> NB : i'm using postgres 6.4 with jdbc driver included in this release.
>
>

--
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Charles-Edouard Ruault
Дата:
Сообщение: problem of upper/lower case in table names
Следующее
От: tolik@icomm.ru (Anatoly K. Lasareff)
Дата:
Сообщение: Re: [INTERFACES] RE: [HACKERS] PREPARE