git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 66b1403) | patch
Arrange to fsync the contents of lockfiles (both postmaster.pid and the
2010年8月16日 17:32:46 +0000 (17:32 +0000)
2010年8月16日 17:32:46 +0000 (17:32 +0000)
commit ee0e525bfc3a3d0851e36d3d15dce3a8bd7ac029
Arrange to fsync the contents of lockfiles (both postpid 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.
src/backend/utils/init/miscinit.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /