diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-01-15 22:03:09 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-01-15 22:08:03 +0200 |
commit | b2b4af535eb733ba0c2ea6eeb2b14cac7f1ca4be (patch) | |
tree | 8bf07107a96fa487a013a1430c474f03b7cb5391 /src/backend/parser/parse_utilcmd.c | |
parent | 0495aaad8b337642830a4d4e82f8b8c02b27b1be (diff) | |
download | postgresql-b2b4af535eb733ba0c2ea6eeb2b14cac7f1ca4be.tar.gz postgresql-b2b4af535eb733ba0c2ea6eeb2b14cac7f1ca4be.zip |
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.
Diffstat (limited to 'src/backend/parser/parse_utilcmd.c')
0 files changed, 0 insertions, 0 deletions