mirror of https://github.com/postgres/postgres
dblink uses a short-lived data conversion memory context. However it was not deleted when no longer needed, leading to a noticeable memory leak under some circumstances. Plug the hole, along with minor refactoring. Backpatch to 9.2 where the leak was introduced. Report and initial patch by MauMau. Reviewed/modified slightly by Tom Lane and me.pull/14/head
parent
ecac0e2b9e
commit
1dde5782e3
Loading…
Reference in new issue