mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08:00
3272be3468
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 |
||
---|---|---|
.. | ||
expected | ||
input | ||
output | ||
sql | ||
.gitignore | ||
dblink--1.0--1.1.sql | ||
dblink--1.1.sql | ||
dblink--unpackaged--1.0.sql | ||
dblink.c | ||
dblink.control | ||
dblink.h | ||
Makefile | ||
pg_service.conf |