diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-03-18 20:37:09 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-03-18 20:37:09 -0400 |
commit | fbcc9fe33c43a3fb79812b72960df4909a4551e5 (patch) | |
tree | 8100a932d7266cb2935d48e111e2db5085752781 /src/tutorial/advanced.source | |
parent | a5eb70cfca5bc252d7913eb6bb0ff304c4b7d7ae (diff) | |
download | postgresql-fbcc9fe33c43a3fb79812b72960df4909a4551e5.tar.gz postgresql-fbcc9fe33c43a3fb79812b72960df4909a4551e5.zip |
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
Diffstat (limited to 'src/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions