postgresql/contrib/dblink
Tom Lane b75fbe9191 Fix dblink's failure to report correct connection name in error messages.
The DBLINK_GET_CONN and DBLINK_GET_NAMED_CONN macros did not set the
surrounding function's conname variable, causing errors to be incorrectly
reported as having occurred on the "unnamed" connection in some cases.
This bug was actually visible in two cases in the regression tests,
but apparently whoever added those cases wasn't paying attention.

Noted by Kyotaro Horiguchi, though this is different from his proposed
patch.

Back-patch to 8.4; 8.3 does not have the same type of error reporting
so the patch is not relevant.
2012-03-29 17:52:28 -04:00
..
expected Fix dblink's failure to report correct connection name in error messages. 2012-03-29 17:52:28 -04:00
sql Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
dblink--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
dblink--unpackaged--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:03 -04:00
dblink.c Fix dblink's failure to report correct connection name in error messages. 2012-03-29 17:52:28 -04:00
dblink.control Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00
dblink.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Makefile Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00