aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-03-18 20:37:09 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-03-18 22:22:47 -0400
commit28644fac10731e30e70b622986a6fbbeb5a5b2f9 (patch)
treef2cb8f70089b1ea9b1f84650ab928d783e4a50dc /src/backend/access/gist/gistutil.c
parenta16b2b960f0eec2fe367e86017b3c24ed688ba2b (diff)
downloadpostgresql-28644fac10731e30e70b622986a6fbbeb5a5b2f9.tar.gz
postgresql-28644fac10731e30e70b622986a6fbbeb5a5b2f9.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/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions