pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Don't leak rd_statlist when a relcache entry is dropped. 5+ messages / 1 participants [nested] [flat]
* pgsql: Don't leak rd_statlist when a relcache entry is dropped. @ 2021-03-19 02:23 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-19 02:23 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't leak rd_statlist when a relcache entry is dropped. Although these lists are usually NIL, and even when not empty are unlikely to be large, constant relcache update traffic could eventually result in visible bloat of CacheMemoryContext. Found via valgrind testing. Back-patch to v10 where this field was added. Discussion: https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/28644fac10731e30e70b622986a6fbbeb5a5b2f9 Modified Files -------------- src/backend/utils/cache/relcache.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Don't leak rd_statlist when a relcache entry is dropped. @ 2021-03-19 02:23 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-19 02:23 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't leak rd_statlist when a relcache entry is dropped. Although these lists are usually NIL, and even when not empty are unlikely to be large, constant relcache update traffic could eventually result in visible bloat of CacheMemoryContext. Found via valgrind testing. Back-patch to v10 where this field was added. Discussion: https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5368369701447b4f2a767c34cfde1f9f4eb53f7a Modified Files -------------- src/backend/utils/cache/relcache.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Don't leak rd_statlist when a relcache entry is dropped. @ 2021-03-19 02:23 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-19 02:23 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't leak rd_statlist when a relcache entry is dropped. Although these lists are usually NIL, and even when not empty are unlikely to be large, constant relcache update traffic could eventually result in visible bloat of CacheMemoryContext. Found via valgrind testing. Back-patch to v10 where this field was added. Discussion: https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/fbcc9fe33c43a3fb79812b72960df4909a4551e5 Modified Files -------------- src/backend/utils/cache/relcache.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Don't leak rd_statlist when a relcache entry is dropped. @ 2021-03-19 02:23 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-19 02:23 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't leak rd_statlist when a relcache entry is dropped. Although these lists are usually NIL, and even when not empty are unlikely to be large, constant relcache update traffic could eventually result in visible bloat of CacheMemoryContext. Found via valgrind testing. Back-patch to v10 where this field was added. Discussion: https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/967b693eaef10aab76038163c6abd5778db38c51 Modified Files -------------- src/backend/utils/cache/relcache.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Don't leak rd_statlist when a relcache entry is dropped. @ 2021-03-19 02:23 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 5+ messages in thread From: Tom Lane @ 2021-03-19 02:23 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Don't leak rd_statlist when a relcache entry is dropped. Although these lists are usually NIL, and even when not empty are unlikely to be large, constant relcache update traffic could eventually result in visible bloat of CacheMemoryContext. Found via valgrind testing. Back-patch to v10 where this field was added. Discussion: https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2bed650c4841cb63a8cede0db9452664f39bc314 Modified Files -------------- src/backend/utils/cache/relcache.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2021-03-19 02:23 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-03-19 02:23 pgsql: Don't leak rd_statlist when a relcache entry is dropped. Tom Lane <tgl@sss.pgh.pa.us> 2021-03-19 02:23 pgsql: Don't leak rd_statlist when a relcache entry is dropped. Tom Lane <tgl@sss.pgh.pa.us> 2021-03-19 02:23 pgsql: Don't leak rd_statlist when a relcache entry is dropped. Tom Lane <tgl@sss.pgh.pa.us> 2021-03-19 02:23 pgsql: Don't leak rd_statlist when a relcache entry is dropped. Tom Lane <tgl@sss.pgh.pa.us> 2021-03-19 02:23 pgsql: Don't leak rd_statlist when a relcache entry is dropped. 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