Re: Mention column name in error messages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Mention column name in error messages
Дата
Msg-id 24025.1440024136@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Mention column name in error messages  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> The hints you add end in a new line, which then gives two new lines once
> they are emitted.  This is contrary to how other HINTs are formatted.
> Other HINTs are complete sentences (start with a capital letter, end with a
> period).
> But I think these belong as CONTEXT or as DETAIL, not as HINT.  The
> messages are giving me details about where (which column)  the error
> occured, they aren't giving suggestions to me about what to do about it.

We have specific style guidelines about this:
http://www.postgresql.org/docs/devel/static/error-message-reporting.html
http://www.postgresql.org/docs/devel/static/error-style-guide.html
        regards, tom lane



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Declarative partitioning
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Freeze avoidance of very large table.