• T
    Remove RelationGetBufferWithBuffer(), which is horribly confused about · bdadc9bf
    Tom Lane 提交于
    appropriate pin-count manipulation, and instead use ReleaseAndReadBuffer.
    Make use of the fact that the passed-in buffer (if there is one) must
    be pinned to avoid grabbing the bufmgr spinlock when we are able to
    return this same buffer.  Eliminate unnecessary 'previous tuple' and
    'next tuple' fields of HeapScanDesc and IndexScanDesc, thereby removing
    a whole lot of bookkeeping from heap_getnext() and related routines.
    bdadc9bf
skey.h 1.3 KB