]> granicus.if.org Git - postgresql/commit
Fix documentation for dblink_error_message() return value
authorJoe Conway <mail@joeconway.com>
Sun, 17 Feb 2019 18:15:06 +0000 (13:15 -0500)
committerJoe Conway <mail@joeconway.com>
Sun, 17 Feb 2019 18:17:31 +0000 (13:17 -0500)
commit7f39f0344129706979174ba530f8cc21b7d9f4a3
tree6d8ba44e2248854d09a66b9867a6fb811578e68e
parent4eca1905d34b34a48b80553262edc81048fd7dfe
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