Re: BUG #3894: JDBC DatabaseMetaData.getTables is inconsistently case-sensitive with schema name
В списке pgsql-bugs по дате отправления:
| От | Kris Jurka |
|---|---|
| Тема | Re: BUG #3894: JDBC DatabaseMetaData.getTables is inconsistently case-sensitive with schema name |
| Дата | |
| Msg-id | Pine.BSO.4.64.0802011543090.5384@leary.csoft.net обсуждение исходный текст |
| Ответ на | Re: BUG #3894: JDBC DatabaseMetaData.getTables is inconsistently case-sensitive with schema name (Adam Hardy <adam.hardy@cyberspaceroad.com>) |
| Ответы |
Re: BUG #3894: JDBC DatabaseMetaData.getTables is inconsistently
case-sensitive with schema name
|
| Список | pgsql-bugs |
On Fri, 1 Feb 2008, Adam Hardy wrote: > it seems to me from what you just said that PostgreSQL server and JDBC driver > require the schema name to be lower case deliberately, and that any given > name that is not all lower case is converted to lower case by the server or > the driver. Am I correct? > Anything that is not quoted is converted to lowercase. This is contrary to the SQL spec (it says to convert it to uppercase), but that's unlikely to change anytime soon. A JDBC app can portably detect this case by checking DatabaseMetaData.storesLowerCaseIdentifiers() and adjusting the other metadata calls appropriately. Kris Jurka
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера