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

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

From
itagaki@postgresql.org (Takahiro Itagaki)
Date:
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)

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

From
Tom Lane
Date:
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

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

From
Takahiro Itagaki
Date:
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