• T
    Get rid of rd_nblocks field in relcache entries. Turns out this was · 4af34211
    Tom Lane 提交于
    costing us lots more to maintain than it was worth.  On shared tables
    it was of exactly zero benefit because we couldn't trust it to be
    up to date.  On temp tables it sometimes saved an lseek, but not often
    enough to be worth getting excited about.  And the real problem was that
    we forced an lseek on every relcache flush in order to update the field.
    So all in all it seems best to lose the complexity.
    4af34211
vacuumlazy.c 32.0 KB