pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix memory leak in GIN index scans. 3+ messages / 1 participants [nested] [flat]
* pgsql: Fix memory leak in GIN index scans. @ 2016-04-15 04:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2016-04-15 04:02 UTC (permalink / raw) To: 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(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix memory leak in GIN index scans. @ 2016-04-15 04:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2016-04-15 04:02 UTC (permalink / raw) To: 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 ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/edd57377f0db00a66d39029aa5239a96280887ef Modified Files -------------- src/backend/access/gin/ginget.c | 1 + 1 file changed, 1 insertion(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix memory leak in GIN index scans. @ 2016-04-15 04:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2016-04-15 04:02 UTC (permalink / raw) To: 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 ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/0479eccdcf0db59336aa45c6501666cd9f590b6a Modified Files -------------- src/backend/access/gin/ginget.c | 1 + 1 file changed, 1 insertion(+) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2016-04-15 04:02 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-04-15 04:02 pgsql: Fix memory leak in GIN index scans. Tom Lane <tgl@sss.pgh.pa.us> 2016-04-15 04:02 pgsql: Fix memory leak in GIN index scans. Tom Lane <tgl@sss.pgh.pa.us> 2016-04-15 04:02 pgsql: Fix memory leak in GIN index scans. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox