postgresql/src/backend/utils/init
Tom Lane 1eece5da38 Arrange to fsync the contents of lockfiles (both postmaster.pid and the
socket lockfile) when writing them.  The lack of an fsync here may well
explain two different reports we've seen of corrupted lockfile contents,
which doesn't particularly bother the running server but can prevent a
new server from starting if the old one crashes.  Per suggestion from
Alvaro.

Back-patch to all supported versions.
2010-08-16 17:33:07 +00:00
..
flatfiles.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
globals.c Update copyrights in source tree to 2008. 2008-01-01 19:46:01 +00:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
miscinit.c Arrange to fsync the contents of lockfiles (both postmaster.pid and the 2010-08-16 17:33:07 +00:00
postinit.c Initialize the minimum frozen Xid in vac_update_datfrozenxid using 2008-09-11 14:01:35 +00:00