Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> Would it be possible to: when a new block is allocated from the relation
> file (rather than reused), we check the FSM - if it is empty, then we
> allocate 8 new blocks and add them all to the FSM. The next few
> INSERTers will then use the FSM blocks normally.
Most likely that would just shift the contention to the WALInsertLock.
regards, tom lane