On Fri, Dec 9, 2016 at 3:23 PM, Michael Paquier <michael.paqu...@gmail.com> wrote: > This basically means that if the latch is set, we don't wait at all > and drop the ball. I am wondering: isn't that a problem even if > WL_LATCH_SET is *not* set? If I read this code correctly, even if > caller has not set WL_LATCH_SET and the latch is set, then the wait > will stop.
Nah. I misread the code. set->latch is not NULL only if WL_LATCH_SET is enabled. -- Michael -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers