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(-)
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.