Re: \d failing to find uppercased object names

Поиск
Список
Период
Сортировка
От Виктор Егоров
Тема Re: \d failing to find uppercased object names
Дата
Msg-id CAGnEboivieUzPF4C7VbscHWBfGAKC-wWYTf2qCPmSv_MmXp0fA@mail.gmail.com
обсуждение исходный текст
Ответ на \d failing to find uppercased object names  (Nikolay Samokhvalov <samokhvalov@gmail.com>)
Ответы Re: \d failing to find uppercased object names  (Craig Ringer <craig@2ndQuadrant.com>)
Список pgsql-hackers
2013/1/24 Nikolay Samokhvalov <samokhvalov@gmail.com>:
> some app created tables ussing uppercase letters in table names (this app
> was migrated from mysql). One tries to use \d to search tables info:
>
> ...
>
> Could this be considered as gotcha?
>
> The thing is that Postgres reply is pretty much clear:
>  > Did not find any relation named "pnct_Board".
> , but table "pnct_Board" does exist in the system, so Postgres' reply is
> obviously incorrect.

Take a look at this section in the docs:
http://www.postgresql.org/docs/current/interactive/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS

This is expected behavior.


-- 
Victor Y. Yegorov



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

Предыдущее
От: Nikolay Samokhvalov
Дата:
Сообщение: \d failing to find uppercased object names
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_ctl idempotent option