On 10 May 2011 02:58, Fujii Masao <masao(dot)fujii(at)gmail(dot)com> wrote:
>> Alright. I'm currently working on a proof-of-concept implementation of
>> that. In the meantime, any thoughts on how this should meld with the
>> existing latch implementation?
>
> How about making WaitLatch monitor the file descriptor for the pipe
> by using select()?
Alright, so it's reasonable to assume that all clients of the latch
code are happy to be invariably woken up on Postmaster death?
--
Peter Geoghegan http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services