pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix documentation for dblink_error_message() return value
Date: Sun, 17 Feb 2019 18:17:56 +0000
Message-ID: <E1gvR0m-0003ol-9A@gemulon.postgresql.org> (raw)

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

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/916b50a5ae0a7a64ca3b2497ccb1b97ce72f8aa9

Modified Files
--------------
doc/src/sgml/dblink.sgml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1gvR0m-0003ol-9A@gemulon.postgresql.org>
Permalink:  ../E1gvR0m-0003ol-9A@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gvR0m-0003ol-9A@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: mail@joeconway.com, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix documentation for dblink_error_message() return value
  In-Reply-To: <E1gvR0m-0003ol-9A@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox