• Noah Misch's avatar
    Don't prematurely free the BufferAccessStrategy in pgstat_heap(). · 9d0826c5
    Noah Misch authored
    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.
    9d0826c5
pgstattuple.c 13.2 KB