dblink_error_message return value

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: realyota(at)gmail(dot)com
Subject: dblink_error_message return value
Date: 2018-08-08 09:16:24
Message-ID: 153371978486.1298.2091761143788088262@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message KES 2018-08-08 10:55:53 Re: Typo in doc or wrong EXCLUDE implementation
Previous Message Stephen Frost 2018-08-08 03:01:49 Re: Document the limit on the number of parameters