summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2014-06-30 16:59:19 -0400
committerNoah Misch <noah@leadboat.com>2014-06-30 17:00:22 -0400
commitf14e4085215b6d71a54f10932f680ae60d8619b3 (patch)
treef5ae64fb8436bbddfc917261eb6b6555cbb2dcc2 /src/tutorial/funcs.c
parent9a28c3752c89ec01fb8b28bb5904c6d547507fda (diff)
Don't prematurely free the BufferAccessStrategy in pgstat_heap().
This function continued to use it after heap_endscan() freed it. In passing, don't explicit create a strategy here. Instead, use the one created by heap_beginscan_strat(), if any. Back-patch to 9.2, where use of a BufferAccessStrategy here was introduced.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions