On Mon, Sep 26, 2016 at 6:58 PM, Robert Haas <robertmh...@gmail.com> wrote: >> That requires some kind of mutual exclusion mechanism, like an LWLock. > > No, it doesn't. Shared memory queues are single-reader, single-writer.
The point is that there is a natural dependency when merging is performed eagerly within the leader. One thing needs to be in lockstep with the others. That's all. -- Peter Geoghegan -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers