aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlogutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-06-17 16:41:25 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-06-17 16:41:25 +0000
commit07e8b6aabcca3ad9a67681694d955f607e29ce7b (patch)
tree0d7aff9b127566412a2bd3b8606ae501b3c11f91 /src/backend/access/transam/xlogutils.c
parent8f4e1218458d0d34825d41b50aabadacbdf93697 (diff)
downloadpostgresql-07e8b6aabcca3ad9a67681694d955f607e29ce7b.tar.gz
postgresql-07e8b6aabcca3ad9a67681694d955f607e29ce7b.zip
Don't allow walsender to send WAL data until it's been safely fsync'd on the
master. Otherwise a subsequent crash could cause the master to lose WAL that has already been applied on the slave, resulting in the slave being out of sync and soon corrupt. Per recent discussion and an example from Robert Haas. Fujii Masao
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions