pgsql: dblink: Fix error reporting

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: dblink: Fix error reporting
Date: 2017-03-28 15:16:22
Message-ID: E1cssr8-0001Jt-9e@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)lathia(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-03-28 15:35:15 Re: [COMMITTERS] pgsql: Improve access to parallel query from procedural languages.
Previous Message Simon Riggs 2017-03-28 14:07:08 pgsql: Cleanup slots during drop database