From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix memory leak in GIN index scans. |
Date: | 2016-04-15 04:02:45 |
Message-ID: | E1aquxx-0007Kh-2b@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix memory leak in GIN index scans.
The code had a query-lifespan memory leak when encountering GIN entries
that have posting lists (rather than posting trees, ie, there are a
relatively small number of heap tuples containing this index key value).
With a suitable data distribution this could add up to a lot of leakage.
Problem seems to have been introduced by commit 36a35c550, so back-patch
to 9.4.
Julien Rouhaud
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/f0e766bd7f77774075297526bd2da8f3de226c1f
Modified Files
--------------
src/backend/access/gin/ginget.c | 1 +
1 file changed, 1 insertion(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2016-04-15 04:12:23 | Re: [COMMITTERS] pgsql: Add regression tests for multiple synchronous standbys. |
Previous Message | Fujii Masao | 2016-04-15 03:57:59 | Re: [COMMITTERS] pgsql: Add regression tests for multiple synchronous standbys. |