mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
2f802d95b4
When libpq encounters a connection-level error, e.g. runs out of memory while forming a result, there will be no error associated with PGresult, but a message will be placed into PGconn's error buffer. postgres_fdw takes care to use the PGconn error message when PGresult does not have one, but dblink has been negligent in that regard. Modify dblink to mirror what postgres_fdw has been doing. Back-patch to all supported branches. Author: Joe Conway Reviewed-By: Tom Lane Discussion: https://postgr.es/m/02fa2d90-2efd-00bc-fefc-c23c00eb671e%40joeconway.com |
||
---|---|---|
.. | ||
expected | ||
input | ||
output | ||
sql | ||
.gitignore | ||
dblink--1.0--1.1.sql | ||
dblink--1.1--1.2.sql | ||
dblink--1.2.sql | ||
dblink--unpackaged--1.0.sql | ||
dblink.c | ||
dblink.control | ||
dblink.h | ||
Makefile | ||
pg_service.conf |