diff options
author | Noah Misch <noah@leadboat.com> | 2014-06-30 16:59:19 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2014-06-30 16:59:44 -0400 |
commit | 37a4d3d70617f574b9a3dd5af079430b24817333 (patch) | |
tree | 1823552a3c6f2b888941cef09ffad884f0468d07 /src/bin/psql/common.c | |
parent | 6ad903d70a440eb0fbe0b33ceb87a8b0a81cb240 (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/bin/psql/common.c')
0 files changed, 0 insertions, 0 deletions