From 385627c2c174e865aa3da1ea220ce8897c9455ba Mon Sep 17 00:00:00 2001 From: Joe Conway Date: Sun, 17 Feb 2019 13:14:50 -0500 Subject: 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 --- doc/src/sgml/dblink.sgml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/src/sgml/dblink.sgml b/doc/src/sgml/dblink.sgml index 1ec4b19dcd5..7f1f58b5712 100644 --- a/doc/src/sgml/dblink.sgml +++ b/doc/src/sgml/dblink.sgml @@ -1165,11 +1165,25 @@ dblink_error_message(text connname) returns text