Re: Appendix A. PostgreSQL Error Codes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Appendix A. PostgreSQL Error Codes
Дата
Msg-id 3933.1524949881@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: Appendix A. PostgreSQL Error Codes  ("Andy Dossett" <dossett@btinternet.com>)
Ответы Re: Appendix A. PostgreSQL Error Codes  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Список pgsql-docs
"Andy Dossett" <dossett@btinternet.com> writes:
> The use case is pretty simple; my system has thrown an SQL error code, I
> want to know what it means.
> Having the list in 'order by sqlstate' sequence would save me from having to
> hunt up and down the list. And I can easily determine if the error code is
> missing; I can then raise another bug report.

Hm ... I'm not finding that to be a very compelling argument.  Reading the
message text is usually *far* more illuminating, because the error codes
are (in many cases) rather broad categories rather than exact conditions.
For the use case of "why did I get this error", I'd say that looking in
Appendix A is quite unhelpful, and sorting it differently wouldn't make
it any more helpful.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Documentation for CommandComplete is incorrect for CREATE TABLE with server version 10.2
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Isn't "publication" wrongly defined here?