| От | Charles-Edouard Ruault |
|---|---|
| Тема | problem of upper/lower case in table names |
| Дата | |
| Msg-id | 3651DBE3.20A775E1@planetweb.com обсуждение исходный текст |
| Ответы |
Re: [INTERFACES] problem of upper/lower case in table names
|
| Список | pgsql-interfaces |
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 NB : i'm using postgres 6.4 with jdbc driver included in this release.
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера