]> granicus.if.org Git - postgresql/commit
Fix poll() implementation of WaitLatchOrSocket to notice postmaster death.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 15 Jan 2012 20:03:09 +0000 (22:03 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 15 Jan 2012 20:08:03 +0000 (22:08 +0200)
commitb2b4af535eb733ba0c2ea6eeb2b14cac7f1ca4be
tree8bf07107a96fa487a013a1430c474f03b7cb5391
parent0495aaad8b337642830a4d4e82f8b8c02b27b1be
Fix poll() implementation of WaitLatchOrSocket to notice postmaster death.

When the remote end of the pipe is closed, select() reports the fd as
readable, but poll() has a separate POLLHUP return code for that.

Spotted by Peter Geoghegan.
src/backend/port/unix_latch.c