mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-03 08:00:21 +08:00
1dde5782e3
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. |
||
---|---|---|
.. | ||
expected | ||
sql | ||
.gitignore | ||
dblink--1.0--1.1.sql | ||
dblink--1.1.sql | ||
dblink--unpackaged--1.0.sql | ||
dblink.c | ||
dblink.control | ||
dblink.h | ||
Makefile |