pgsql: Properly close files after read file failure to prevent potentia - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Properly close files after read file failure to prevent potentia
Date
Msg-id E1P0g4p-0000zZ-FJ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Properly close files after read file failure to prevent potential
resource leak.  Of course, any such failure aborts pg_upgrade, but might
as well be clean about it.

Per patch from Grzegorz Ja?kiewicz.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f175884520949fbc52908d2f4b2baacde5906ebc

Modified Files
--------------
contrib/pg_upgrade/file.c |    3 +++
contrib/pg_upgrade/page.c |    3 +++
2 files changed, 6 insertions(+), 0 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Properly close files after read file failure to prevent potentia
Next
From: Tom Lane
Date:
Subject: pgsql: Fix incorrect usage of non-strict OR joinclauses in appendrel in