Fujii Masao <masao.fu...@gmail.com> writes: > In HEAD, OwnLatch can elog during holding the spinlock WalSnd->mutex. > This seems to be unsafe
Even if it were safe, holding a spinlock through non-straight-line code is a complete violation of the spinlock coding rules re the length of time you're supposed to hold the lock. Heikki? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers