Thread: pgsql: dblink: Fix error reporting

pgsql: dblink: Fix error reporting

From
Peter Eisentraut
Date:
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(-)