Re: pgsql: Improve internationalization of messages involving type names

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Improve internationalization of messages involving type names
Дата
Msg-id 10551.1459188367@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Improve internationalization of messages involving type names  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: pgsql: Improve internationalization of messages involving type names  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-committers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Also, change them all to use the same quoting convention, namely that
> the function name is not to be quoted but the type name is.  (I'm not
> quite sure why this is so, but it's the clear majority.)

Actually, I think the general convention is to NOT quote type names
in error messages.  Certainly that's so when using format_type_be()
to produce a name for a not-known-at-compile-time type.  I would
argue that these messages should be written to look the same as if
format_type_be() had been used, and that would mean leaving off
the quotes.

            regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Update expected file from quoting change
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Document errhidecontext() where it ought to be documented.