pgsql: Fix documentation for dblink_error_message() return value

From: Joe Conway <mail(at)joeconway(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix documentation for dblink_error_message() return value
Date: 2019-02-17 18:18:03
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix documentation for dblink_error_message() return value

The dblink documentation claims that an empty string is returned if there
has been no error, however OK is actually returned in that case. Also,
clarify that an async error may not be seen unless dblink_is_busy() or
dblink_get_result() have been called first.

Backpatch to all supported branches.

Reported-by: realyota
Backpatch-through: 9.4
Discussion: https://postgr.es/m/[email protected]

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7f39f0344129706979174ba530f8cc21b7d9f4a3

Modified Files
--------------
doc/src/sgml/dblink.sgml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Joe Conway 2019-02-17 18:18:06 pgsql: Fix documentation for dblink_error_message() return value
Previous Message Joe Conway 2019-02-17 18:18:01 pgsql: Fix documentation for dblink_error_message() return value