• Kevin Grittner's avatar
    Use static inline function for BufferGetPage() · a6f6b781
    Kevin Grittner authored
    I was initially concerned that the some of the hundreds of
    references to BufferGetPage() where the literal
    BGP_NO_SNAPSHOT_TEST were passed might not optimize as well as a
    macro, leading to some hard-to-find performance regressions in
    corner cases.  Inspection of disassembled code has shown identical
    code at all inspected locations, and the size difference doesn't
    amount to even one byte per such call.  So make it readable.
    
    Per gripes from Álvaro Herrera and Tom Lane
    a6f6b781
bufmgr.c 124 KB