Re: Qualified tables in error messages

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Qualified tables in error messages
Дата
Msg-id 006001c366b9$18416e30$2800a8c0@mars
обсуждение исходный текст
Ответ на Qualified tables in error messages  (Rod Taylor <rbt@rbt.ca>)
Ответы Re: Qualified tables in error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> > ERROR: table "schema"."foo" does not exist
> >
> > which is just plain ugly.

Why not wrap all 'identifier' outputs in a call to the quoting function, so
the above message would in fact appear as:

table schema.foo does not exist

but with a space in it it would appear like this:

table "schema 2".foo does not exist

Chris



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Networking in 7.4?
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: Networking in 7.4?