Sailesh Krishnamurthy <sailesh(at)cs(dot)berkeley(dot)edu> writes:
> Why not have the traditional approach of a lock table in shared
> memory, growing and shrinking as appropriate,
Because we can't grow shared memory. Whatever size we get at startup is
what we're stuck with. (I suppose we could try asking the kernel for
additional segments, but there's every likelihood that that will fail.)
regards, tom lane