summaryrefslogtreecommitdiff
path: root/contrib/pg_upgrade/dump.c
diff options
context:
space:
mode:
authorNoah Misch2014-06-30 20:59:19 +0000
committerNoah Misch2014-06-30 20:59:19 +0000
commit9d0826c595e2a376f6645eb575a9d81d5f5ececf (patch)
tree938c6191630a1d94fa7f113a6b4070fc6e40fb52 /contrib/pg_upgrade/dump.c
parent6647f59fd256927aaf9e35929b5c284d10d18839 (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 'contrib/pg_upgrade/dump.c')
0 files changed, 0 insertions, 0 deletions