Re: dblink_get_result returns NULL if remote query throws error

From: Joe Conway <mail(at)joeconway(dot)com>
To: agomez(at)ebsco(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: dblink_get_result returns NULL if remote query throws error
Date: 2018-09-25 17:06:09
Message-ID: a496d42b-67c6-32b7-7907-7116a7f7517e@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 09/25/2018 11:41 AM, PG Doc comments form wrote:
> 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.

I will look at this as well as the similar one from a month+ ago that
has been languishing in my inbox.

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Joe Conway 2018-09-25 17:50:11 Re: dblink_error_message return value
Previous Message PG Doc comments form 2018-09-25 15:41:00 dblink_get_result returns NULL if remote query throws error