BUG #8402: Bad error message by psql

Поиск
Список
Период
Сортировка
От bughunt@gluino.name
Тема BUG #8402: Bad error message by psql
Дата
Msg-id E1VEFbw-0001Dr-KL@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      8402
Logged by:          David Tonhofer
Email address:      bughunt@gluino.name
PostgreSQL version: 9.2.4
Operating system:   Linux
Description:

Got a table named


"Communes_du_Luxembourg_en_Polygones"


=> \d+ Communes_du_Luxembourg_en_Polygones


Did not find any relation named "Communes_du_Luxembourg_en_Polygones"


That message is wrong!


The name of the table is not quoted, so psql is looking for


"communes_du_Luxembourg_en_polygones"


So it should say:


Did not find any relation named "communes_du_luxembourg_en_polygones"
(quoting may be needed to avoid casefolding)


And indeed:


\d+ "Communes_du_Luxembourg_en_Polygones"


works like a charm.

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

Предыдущее
От: vincent@searidgetech.com
Дата:
Сообщение: BUG #8403: installing PostgreSQL breaks future registration of w32tm service
Следующее
От: ajayaksadvance@gmail.com
Дата:
Сообщение: BUG #8400: DB size changed after restore