pgsql: Don't leak a signalfd when using latches in the postmaster.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Don't leak a signalfd when using latches in the postmaster.
Дата
Msg-id E1p8cg7-0050Jf-I9@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Don't leak a signalfd when using latches in the postmaster.

At the time of commit 6a2a70a02 we didn't use latch infrastructure in
the postmaster.  We're planning to start doing that, so we'd better make
sure that the signalfd inherited from a postmaster is not duplicated and
then leaked in the child.

Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Justin Pryzby <pryzby@telsasoft.com>
Discussion: https://postgr.es/m/CA%2BhUKG%2BZ-HpOj1JsO9eWUP%2Bar7npSVinsC_npxSy%2BjdOMsx%3DGg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f0019de2fe374fa54fca277f36c2e754894db30

Modified Files
--------------
src/backend/storage/ipc/latch.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Update upgrade_adapt.sql to handle tables using aclitem as data
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Fix bug in translate_col_privs_multilevel