• T
    Fix up pgstats counting of live and dead tuples to recognize that committed · 77947c51
    Tom Lane 提交于
    and aborted transactions have different effects; also teach it not to assume
    that prepared transactions are always committed.
    
    Along the way, simplify the pgstats API by tying counting directly to
    Relations; I cannot detect any redeeming social value in having stats
    pointers in HeapScanDesc and IndexScanDesc structures.  And fix a few
    corner cases in which counts might be missed because the relation's
    pgstat_info pointer hadn't been set.
    77947c51
gistget.c 12.2 KB