From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: realyota@gmail.com
Subject: dblink_error_message return value
Date: Wed, 08 Aug 2018 09:16:24 +0000
Message-ID: <153371978486.1298.2091761143788088262@wrigleys.postgresql.org> (raw)
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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, realyota@gmail.com
Subject: Re: dblink_error_message return value
In-Reply-To: <153371978486.1298.2091761143788088262@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox