postgres/contrib/postgres_fdw
Joe Conway 3272be3468 Improve dblink error message when remote does not provide it
When dblink or postgres_fdw detects an error on the remote side of the
connection, it will try to construct a local error message as best it
can using libpq's PQresultErrorField(). When no primary message is
available, it was bailing out with an unhelpful "unknown error". Make
that message better and more style guide compliant. Per discussion
on hackers.

Backpatch to 9.2 except postgres_fdw which didn't exist before 9.3.

Discussion: https://postgr.es/m/19872.1482338965%40sss.pgh.pa.us
2016-12-21 15:51:46 -08:00
..
expected Improve handling of collations in contrib/postgres_fdw. 2015-09-24 12:47:30 -04:00
sql Improve handling of collations in contrib/postgres_fdw. 2015-09-24 12:47:30 -04:00
.gitignore
connection.c Improve dblink error message when remote does not provide it 2016-12-21 15:51:46 -08:00
deparse.c Fix assorted fallout from IS [NOT] NULL patch. 2016-07-28 16:09:15 -04:00
Makefile
option.c Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
postgres_fdw--1.0.sql
postgres_fdw.c Revert misguided change to postgres_fdw FOR UPDATE/SHARE code. 2014-12-12 12:41:55 -05:00
postgres_fdw.control
postgres_fdw.h Fix contrib/postgres_fdw to handle multiple join conditions properly. 2014-03-07 16:36:50 -05:00