pgsql: Fix file descriptor leak at end of recovery.

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix file descriptor leak at end of recovery.
Дата
Msg-id E1Y2meE-0003Kp-EE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix file descriptor leak at end of recovery.

XLogFileInit() returns a file descriptor, which needs to be closed. The leak
was short-lived, since the startup process exits shortly afterwards, but it
was clearly a bug, nevertheless.

Per Coverity report.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2ef6c66a2b1ed288a5e4448989d4b85082d22736

Modified Files
--------------
src/backend/access/transam/xlog.c |    9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql: doc: restrictions on alter database moving default tablespace
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Docs: clarify treatment of variadic functions with zero variadic