aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.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 20:37:09 -0400
commit967b693eaef10aab76038163c6abd5778db38c51 (patch)
tree43d8a50d3041b8e9833e46eab12f09a1305fea2d /src/backend/access/gist/gistbuildbuffers.c
parent5d825d7bee4d05c4ed086e23306e7a74b8f817a8 (diff)
downloadpostgresql-967b693eaef10aab76038163c6abd5778db38c51.tar.gz
postgresql-967b693eaef10aab76038163c6abd5778db38c51.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/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions