• Teodor Sigaev's avatar
    Fix double shared memory allocation. · 7e1fb4c5
    Teodor Sigaev authored
    SLRU buffer lwlocks are allocated twice by oversight in commit
    fe702a7b where that locks were moved to
    separate tranche. The bug doesn't have user-visible effects except small
    overspending of shared memory.
    
    Backpatch to 9.6 where it was introduced.
    
    Alexander Korotkov with small editorization by me.
    7e1fb4c5
slru.c 41.5 KB