error fields

Поиск
Список
Период
Сортировка
От Bart Lengkeek
Тема error fields
Дата
Msg-id CAAdeC9TPYV+cgNLtGWoMqUiD+CS6WCVvdLknsLP_gGTogFDY2g@mail.gmail.com
обсуждение исходный текст
Список pgsql-docs
Hello doc keepers,


There is a minor incorrect statement in the libpq docs at following page. https://www.postgresql.org/docs/devel/static/libpq-exec.html

Where it mentions PG_DIAG_SQLSTATE, in the documentation of the PQresultErrorField, it says ".. is always present". But as I found out, and verified after checking the source ( see comment at https://doxygen.postgresql.org/fe-exec_8c_source.html#l00849 ), that isn't true for libpq internal notices, which for example occur in a column out of range situation.


Regards,

Bart Lengkeek

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: complex documentation and hard to find the reference
Следующее
От: PG Doc comments form
Дата:
Сообщение: The example for creating a check constraint is missing a comma