pgsql: Fix documentation for dblink_error_message() return value - Mailing list pgsql-committers

From Joe Conway
Subject pgsql: Fix documentation for dblink_error_message() return value
Date
Msg-id E1gvR0j-0003oP-Kv@gemulon.postgresql.org
Whole thread Raw
List 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/153371978486.1298.2091761143788088262@wrigleys.postgresql.org

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/64f6a65a00b0b6d768fc3fc49047524f4f99a54d

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix CREATE VIEW to allow zero-column views.
Next
From: Joe Conway
Date:
Subject: pgsql: Fix documentation for dblink_error_message() return value