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 8203.1482418555@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 09:20 PM, Tom Lane wrote:
>> 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?

> That part isn't new -- we added it sometime prior to 9.2:

Oh!  I misread the patch --- something about an unluckily-placed line
wrap and not looking very closely :-(.  Yeah, it's fine as is.
Sorry for the noise.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Minor correction in alter_table.sgml
Next
From: Kuntal Ghosh
Date:
Subject: [HACKERS] An attempt to reduce WALWriteLock contention