dblink_error_message return value

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема dblink_error_message return value
Дата
Msg-id 153371978486.1298.2091761143788088262@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: dblink_error_message return value  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/contrib-dblink-error-message.html
Description:

Documentation says:

Return Value
Returns last error message, or an empty string if there has been no error in
this connection.

Which is invalid.

Actually it returns 'OK' string if no error was raised. Secondly
dblink_is_busy must be first called to make dblink_error_message returns an
error message. (Tested on 9.6.9)

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Document the limit on the number of parameters
Следующее
От: Chris Travers
Дата:
Сообщение: Re: Release note trimming: another modest proposal