On Fri, May 11, 2012 at 1:09 PM, Fujii Masao <masao.fu...@gmail.com> wrote: > Calling WalSndWakeup() while WALWriteLock is being held might cause another > performance degradation. No?
That definitely doesn't seem ideal - a lot of things can pile up behind WALWriteLock. I'm not sure how big a problem it would be in practice, but we generally make a practice of avoiding sending signals while holding LWLocks whenever possible... -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers