postgresql/contrib/postgres_fdw
Joe Conway ea0aa9698c 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:31 -08:00
..
expected psql: Split up "Modifiers" column in \d and \dD 2016-11-03 14:02:46 -04:00
sql postgres_fdw: Try again to stabilize aggregate pushdown regression tests. 2016-10-24 22:36:24 -04:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
Makefile Allow postgres_fdw to ship extension funcs/operators for remote execution. 2015-11-03 18:42:18 -05:00
connection.c Improve dblink error message when remote does not provide it 2016-12-21 15:51:31 -08:00
deparse.c postgres_fdw: Fix typo in comment. 2016-11-01 16:21:29 -04:00
option.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c postgres_fdw: Fix typo in comment. 2016-11-04 09:03:42 -04:00
postgres_fdw.control Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.h postgres_fdw: Push down aggregates to remote servers. 2016-10-21 09:54:29 -04:00
shippable.c Update copyright for 2016 2016-01-02 13:33:40 -05:00