Re: dblink_error_message return value

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: dblink_error_message return value
Дата
Msg-id 28231.1533743837@sss.pgh.pa.us
обсуждение исходный текст
Ответ на dblink_error_message return value  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: dblink_error_message return value  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: dblink_error_message return value  (Joe Conway <mail@joeconway.com>)
Список pgsql-docs
=?utf-8?q?PG_Doc_comments_form?= <noreply@postgresql.org> writes:
> The following documentation comment has been logged on the website:
> 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.

Good catch!  The code's quite clear about it, but the SGML docs need
fixed.

> Secondly
> dblink_is_busy must be first called to make dblink_error_message returns an
> error message. (Tested on 9.6.9)

Meh.  I see what you're getting at here, I think, but that seems like a
completely wrong/misleading statement of the issue.  Joe, can you think of
better phraseology?

            regards, tom lane


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

Предыдущее
От: Chris Travers
Дата:
Сообщение: Re: Release note trimming: another modest proposal
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: dblink_error_message return value