]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix documentation for dblink_error_message() return value
authorJoe Conway <mail@joeconway.com>
Sun, 17 Feb 2019 18:14:39 +0000 (13:14 -0500)
committerJoe Conway <mail@joeconway.com>
Sun, 17 Feb 2019 18:17:19 +0000 (13:17 -0500)
commit916b50a5ae0a7a64ca3b2497ccb1b97ce72f8aa9
tree62d60d7690a2c40f92e03e52809068da2bb919cb
parent0b476cf623dd5849679d4509f6b06b8be7f3436e
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