aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-08-16 17:33:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-08-16 17:33:17 +0000
commite521b3e9b54f118daa44c56af95894b1cefda517 (patch)
treebc20506ff435610f0a17854447a66d0961900555 /src/backend/commands/async.c
parent7ded6d69d58b40f3d7317113aeaa4df67b82e8fe (diff)
downloadpostgresql-e521b3e9b54f118daa44c56af95894b1cefda517.tar.gz
postgresql-e521b3e9b54f118daa44c56af95894b1cefda517.zip
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.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions