pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix possible "invalid memory alloc request size" failure in node 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix possible "invalid memory alloc request size" failure in node @ 2015-10-04 18:17 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2015-10-04 18:17 UTC (permalink / raw) To: pgsql-committers Fix possible "invalid memory alloc request size" failure in nodeHash.c. Limit the size of the hashtable pointer array to not more than MaxAllocSize. We've seen reports of failures due to this in HEAD/9.5, and it seems possible in older branches as well. The change in NTUP_PER_BUCKET in 9.5 may have made the problem more likely, but surely it didn't introduce it. Tomas Vondra, slightly modified by me Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/ff4cbc1ff3d23fe9c40110c8953e0d07457b136b Modified Files -------------- src/backend/executor/nodeHash.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 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] 5+ messages in thread
* pgsql: Fix possible "invalid memory alloc request size" failure in node @ 2015-10-04 18:17 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2015-10-04 18:17 UTC (permalink / raw) To: pgsql-committers Fix possible "invalid memory alloc request size" failure in nodeHash.c. Limit the size of the hashtable pointer array to not more than MaxAllocSize. We've seen reports of failures due to this in HEAD/9.5, and it seems possible in older branches as well. The change in NTUP_PER_BUCKET in 9.5 may have made the problem more likely, but surely it didn't introduce it. Tomas Vondra, slightly modified by me Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/45dd7cdbabae665e4a37750da97ee296c2f76d32 Modified Files -------------- src/backend/executor/nodeHash.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 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] 5+ messages in thread
* pgsql: Fix possible "invalid memory alloc request size" failure in node @ 2015-10-04 18:17 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2015-10-04 18:17 UTC (permalink / raw) To: pgsql-committers Fix possible "invalid memory alloc request size" failure in nodeHash.c. Limit the size of the hashtable pointer array to not more than MaxAllocSize. We've seen reports of failures due to this in HEAD/9.5, and it seems possible in older branches as well. The change in NTUP_PER_BUCKET in 9.5 may have made the problem more likely, but surely it didn't introduce it. Tomas Vondra, slightly modified by me Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/fd3e3cf500de7f8f625744fbd8a413b27f500abe Modified Files -------------- src/backend/executor/nodeHash.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 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] 5+ messages in thread
* pgsql: Fix possible "invalid memory alloc request size" failure in node @ 2015-10-04 18:17 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2015-10-04 18:17 UTC (permalink / raw) To: pgsql-committers Fix possible "invalid memory alloc request size" failure in nodeHash.c. Limit the size of the hashtable pointer array to not more than MaxAllocSize. We've seen reports of failures due to this in HEAD/9.5, and it seems possible in older branches as well. The change in NTUP_PER_BUCKET in 9.5 may have made the problem more likely, but surely it didn't introduce it. Tomas Vondra, slightly modified by me Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/a8168fbcbbb3ed88c19ca2b648d737e8d90f37b1 Modified Files -------------- src/backend/executor/nodeHash.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 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] 5+ messages in thread
* pgsql: Fix possible "invalid memory alloc request size" failure in node @ 2015-10-04 18:17 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2015-10-04 18:17 UTC (permalink / raw) To: pgsql-committers Fix possible "invalid memory alloc request size" failure in nodeHash.c. Limit the size of the hashtable pointer array to not more than MaxAllocSize. We've seen reports of failures due to this in HEAD/9.5, and it seems possible in older branches as well. The change in NTUP_PER_BUCKET in 9.5 may have made the problem more likely, but surely it didn't introduce it. Tomas Vondra, slightly modified by me Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/2647b245d2360a5545f078a2943933eb50d57e66 Modified Files -------------- src/backend/executor/nodeHash.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 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] 5+ messages in thread
end of thread, other threads:[~2015-10-04 18:17 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-10-04 18:17 pgsql: Fix possible "invalid memory alloc request size" failure in node Tom Lane <tgl@sss.pgh.pa.us> 2015-10-04 18:17 pgsql: Fix possible "invalid memory alloc request size" failure in node Tom Lane <tgl@sss.pgh.pa.us> 2015-10-04 18:17 pgsql: Fix possible "invalid memory alloc request size" failure in node Tom Lane <tgl@sss.pgh.pa.us> 2015-10-04 18:17 pgsql: Fix possible "invalid memory alloc request size" failure in node Tom Lane <tgl@sss.pgh.pa.us> 2015-10-04 18:17 pgsql: Fix possible "invalid memory alloc request size" failure in node 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