pgsql: Fix poll() implementation of WaitLatchOrSocket to notice postmas

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix poll() implementation of WaitLatchOrSocket to notice postmas
Дата
Msg-id E1RmWPh-0001Ei-MI@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b2b4af535eb733ba0c2ea6eeb2b14cac7f1ca4be

Modified Files
--------------
src/backend/port/unix_latch.c |    7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Allow a user to kill his own queries using pg_cancel_backend()
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Improve efficiency of recent changes to plperl's sv2cstr().