Re: [HACKERS] Getting rid of "unknown error" in dblink and postgres_fdw - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Getting rid of "unknown error" in dblink and postgres_fdw
Date
Msg-id 12123.1482384030@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Getting rid of "unknown error" in dblink andpostgres_fdw  (Joe Conway <mail@joeconway.com>)
Responses Re: [HACKERS] Getting rid of "unknown error" in dblink andpostgres_fdw  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> On 12/21/2016 04:22 PM, Tom Lane wrote:
>> In short, yes, please copy that bit into dblink.

> The attached should do the trick I think.

I see that you need to pass the PGconn into dblink_res_error() now, but
what's the point of the new "bool fail" parameter?

> You think it is reasonable to backpatch this part too?

Yes, definitely.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [HACKERS] [PATCH] Transaction traceability - txid_status(bigint)
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Logical decoding on standby