pgsql: dblink: Fix error reporting

Started by Peter Eisentrautover 9 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

dblink: Fix error reporting

The conname variable was not initialized in some code paths, resulting
in error reports referring to the "unnamed" connection rather than the
correct connection name.

Author: Rushabh Lathia <rushabh.lathia@gmail.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/85163641f8bdeb7734b37ae67faa224a029afe25

Modified Files
--------------
contrib/dblink/dblink.c | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers