pgsql: Fix connection leak in dblink when dblink_connect() or

Started by Takahiro Itagakiabout 16 years ago3 messagescomitters
Jump to latest
#1Takahiro Itagaki
itagaki@postgresql.org

Log Message:
-----------
Fix connection leak in dblink when dblink_connect() or dblink_connect_u()
end with "duplicate connection name" errors.

Backported to release 7.4.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/contrib/dblink:
dblink.c (r1.25.4.7 -> r1.25.4.8)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.25.4.7&r2=1.25.4.8)

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Takahiro Itagaki (#1)
Re: pgsql: Fix connection leak in dblink when dblink_connect() or

itagaki@postgresql.org (Takahiro Itagaki) writes:

Log Message:
-----------
Fix connection leak in dblink when dblink_connect() or dblink_connect_u()
end with "duplicate connection name" errors.

Backported to release 7.4.

The buildfarm says this patch broke 8.0 and 7.4.

regards, tom lane

#3ITAGAKI Takahiro
itagaki.takahiro@oss.ntt.co.jp
In reply to: Tom Lane (#2)
Re: pgsql: Fix connection leak in dblink when dblink_connect() or

Tom Lane <tgl@sss.pgh.pa.us> wrote:

itagaki@postgresql.org (Takahiro Itagaki) writes:

Log Message:
-----------
Fix connection leak in dblink when dblink_connect() or dblink_connect_u()
end with "duplicate connection name" errors.

Backported to release 7.4.

The buildfarm says this patch broke 8.0 and 7.4.

My apologies for the careless commit.
I applied additional fixes for them.

Regards,
---
Takahiro Itagaki
NTT Open Source Software Center