dblink: Fix error reporting
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 28 Mar 2017 15:08:38 +0000 (11:08 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 28 Mar 2017 15:08:38 +0000 (11:08 -0400)
commit85163641f8bdeb7734b37ae67faa224a029afe25
tree768a1f1edb64979a6c468f60e39bd2628af32134
parentff539da31691f2cd2694360250571c5c5fb7415e
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>
contrib/dblink/dblink.c