aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/misc.c
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2017-03-11 13:32:26 -0800
committerJoe Conway <mail@joeconway.com>2017-03-11 13:32:26 -0800
commit8469923f3ea893ee0261a234e2e5136663064d52 (patch)
treeeaf7f5850b9f8291fd8de5bcf05af0f616bb3595 /src/interfaces/ecpg/ecpglib/misc.c
parent4cdd81d9015857eb5c81fe57e95b4c3e52d9614b (diff)
downloadpostgresql-8469923f3ea893ee0261a234e2e5136663064d52.tar.gz
postgresql-8469923f3ea893ee0261a234e2e5136663064d52.zip
Fix ancient connection leak in dblink
When using unnamed connections with dblink, every time a new connection is made, the old one is leaked. Fix that. This has been an issue probably since dblink was first committed. Someone complained almost ten years ago, but apparently I decided not to pursue it at the time, and neither did anyone else, so it slipped between the cracks. Now that someone else has complained, fix in all supported branches. Discussion: (orig) https://postgr.es/m/flat/F680AB59-6D6F-4026-9599-1BE28880273D%40decibel.org#F680AB59-6D6F-4026-9599-1BE28880273D@decibel.org Discussion: (new) https://postgr.es/m/flat/0A3221C70F24FB45833433255569204D1F6ADF8C@G01JPEXMBYT05 Reported by: Jim Nasby and Takayuki Tsunakawa
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/misc.c')
0 files changed, 0 insertions, 0 deletions