postgresql/src/common
Tom Lane 728ceba938 Avoid leaking FDs after an fsync failure.
Fixes errors introduced in commit bc34223bc, as detected by Coverity.

In passing, report ENOSPC for a short write while padding a new wal file in
open_walfile, make certain that close_walfile closes walfile in all cases,
and improve a couple of comments.

Michael Paquier and Tom Lane
2016-10-02 12:33:46 -04:00
..
Makefile Move fsync routines of initdb into src/common/ 2016-09-29 12:00:00 -04:00
config_info.c pgindent run for 9.6 2016-06-09 18:02:36 -04:00
controldata_utils.c Fix CRC check handling in get_controlfile 2016-09-28 12:00:00 -04:00
exec.c Fix a bunch of places that called malloc and friends with no NULL check. 2016-08-30 18:22:43 -04:00
fe_memutils.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
file_utils.c Avoid leaking FDs after an fsync failure. 2016-10-02 12:33:46 -04:00
ip.c Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
keywords.c Move keywords.c/kwlookup.c into src/common/. 2016-03-23 20:22:08 -04:00
md5.c Move code shared between libpq and backend from backend/libpq/ to common/. 2016-09-02 13:49:59 +03:00
pg_lzcompress.c Fix typos in comments 2016-02-01 11:43:48 +01:00
pgfnames.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
psprintf.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
relpath.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
restricted_token.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
rmtree.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
string.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
username.c Update copyright for 2016 2016-01-02 13:33:40 -05:00
wait_error.c Update copyright for 2016 2016-01-02 13:33:40 -05:00