forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitcd1e23e
committed
Fix ancient connection leak in dblink
When using unnamed connections with dblink, every time a newconnection 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 decidednot to pursue it at the time, and neither did anyone else, so itslipped 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.orgDiscussion: (new)https://postgr.es/m/flat/0A3221C70F24FB45833433255569204D1F6ADF8C@G01JPEXMBYT05Reported by: Jim Nasby and Takayuki Tsunakawa1 parentb58fd4a commitcd1e23e
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
304 | 304 |
| |
305 | 305 |
| |
306 | 306 |
| |
| 307 | + | |
| 308 | + | |
| 309 | + | |
307 | 310 |
| |
| 311 | + | |
308 | 312 |
| |
309 | 313 |
| |
310 | 314 |
| |
|
0 commit comments
Comments
(0)