• Robert Haas's avatar
    Remove lsn from HashScanPosData. · 22c5e735
    Robert Haas authored
    This was intended as infrastructure for weakening VACUUM's locking
    requirements, similar to what was done for btree indexes in commit
    2ed5b87f.  However, for hash indexes,
    it seems that the improvements which are possible are actually
    extremely marginal.  Furthermore, performing the LSN cross-check will
    end up skipping cleanup far more often than is necessary; we only care
    about page modifications due to a VACUUM, but the LSN check will fail
    if ANY modification has occurred.  So, rather than pressing forward
    with that "optimization", just rip the LSN field out.
    
    Patch by me, reviewed by Ashutosh Sharma and Amit Kapila
    
    Discussion: http://postgr.es/m/CAA4eK1JxqqcuC5Un7YLQVhOYSZBS+t=3xqZuEkt5RyquyuxpwQ@mail.gmail.com
    22c5e735
hash.h 18.5 KB