[COMMITTERS] pgsql: Run the postmaster's signal handlers without SA_RESTART.

2017-04-24 Thread Tom Lane
Run the postmaster's signal handlers without SA_RESTART. The postmaster keeps signals blocked everywhere except while waiting for something to happen in ServerLoop(). The code expects that the select(2) will be cancelled with EINTR if an interrupt occurs; without that, followup actions that shoul

[COMMITTERS] pgsql: Run the postmaster's signal handlers without SA_RESTART.

2017-04-24 Thread Tom Lane
Run the postmaster's signal handlers without SA_RESTART. The postmaster keeps signals blocked everywhere except while waiting for something to happen in ServerLoop(). The code expects that the select(2) will be cancelled with EINTR if an interrupt occurs; without that, followup actions that shoul