Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

gistget.c

  • Tom Lane's avatar
    77947c51
    Fix up pgstats counting of live and dead tuples to recognize that committed · 77947c51
    Tom Lane authored
    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
    History
    Fix up pgstats counting of live and dead tuples to recognize that committed
    Tom Lane authored
    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.