Thread: Connection leak in dblink on duplicate names

Connection leak in dblink on duplicate names

From
Takahiro Itagaki
Date:
I found contrib/dblink leaks a connection or a small amout of memory
when dblink_connect() ends with a duplicate connection name error.
We should disconnect the connection before raise any ERRORs.

Patch attached.

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

Attachment