Andres Freund wrote:
> I'm generally baffled at all the stuff postmaster does in signal
> handlers... ProcessConfigFile(), load_hba() et al. It's all done with
> signals disabled, but still.
As far as I recall, the rationale for why this is acceptable is that the
whole of postmaster is run with signals blocked; they are only unblocked
during the sleeping select().
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services