Re: Getting rid of "unknown error" in dblink and postgres_fdw

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@postgresql.org
Date: 2016-12-21T16:56:52Z
Lists: pgsql-hackers
I wrote:
> We have a report in pgsql-general of a dblink query failing with
> 	ERROR: unknown error

Er, fingers faster than brain this morning.  Actually that report is in
pgsql-bugs, specifically bug #14471:
https://www.postgresql.org/message-id/20161221094443.25614.47807%40wrigleys.postgresql.org

			regards, tom lane


Commits

  1. Make dblink try harder to form useful error messages

  2. Improve dblink error message when remote does not provide it