Fix documentation for dblink_error_message() return value

Joe Conway <mail@joeconway.com>

Commit: 385627c2c174e865aa3da1ea220ce8897c9455ba
Author: Joe Conway <mail@joeconway.com>
Date: 2019-02-17T18:17:23Z
Releases: 9.6.13
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

Files

PathChange+/−
doc/src/sgml/dblink.sgml modified +15 −1

Documentation touched

Discussion