Fix documentation for dblink_error_message() return value
authorJoe Conway <[email protected]>
Sun, 17 Feb 2019 18:14:58 +0000 (13:14 -0500)
committerJoe Conway <[email protected]>
Sun, 17 Feb 2019 18:17:28 +0000 (13:17 -0500)
commitc1769970499833e451d0125ed1bc43d116ad3160
tree762067950bcb95c8ff56a1a12b11db7253e155f6
parentb355be443b74d2749db00242d068fabc2df39f27
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