dblink_get_result returns NULL if remote query throws error

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: agomez(at)ebsco(dot)com
Subject: dblink_get_result returns NULL if remote query throws error
Date: 2018-09-25 15:41:00
Message-ID: 153789006006.1219.7158416078641854892@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.3/static/contrib-dblink-get-result.html
Description:

Please consider clarifying this page:
https://www.postgresql.org/docs/current/static/contrib-dblink-get-result.html
to state that if you call
select dblink_get_result ('mylink',false), you will receive back a NULL if
the remote query threw an error. It is not clear on the page. At least an
example would be nice.

Thanks!

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Joe Conway 2018-09-25 17:06:09 Re: dblink_get_result returns NULL if remote query throws error
Previous Message Michael Paquier 2018-09-21 08:49:31 Re: Mention FK creation take ShareRowExclusiveLock on referenced table