• Robert Haas's avatar
    Improve handling of dead tuples in hash indexes. · f0e72a25
    Robert Haas authored
    When squeezing a bucket during vacuum, it's not necessary to retain
    any tuples already marked as dead, so ignore them when deciding which
    tuples must be moved in order to empty a bucket page.  Similarly, when
    splitting a bucket, relocating dead tuples to the new bucket is a
    waste of effort; instead, just ignore them.
    
    Amit Kapila, reviewed by me.  Testing help provided by Ashutosh
    Sharma.
    f0e72a25
hashovfl.c 22 KB