diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-01-17 12:22:24 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-01-17 12:27:35 +0200 |
commit | 34ef02b4d4c06e2bae6ad09cfd6d9c097eb73743 (patch) | |
tree | 87ff48f2fb375a966dc7adac1666fbd199f56c0f /src/include/postgres_ext.h | |
parent | e0c274679cb50064a92472c94c7ef5849a156536 (diff) | |
download | postgresql-34ef02b4d4c06e2bae6ad09cfd6d9c097eb73743.tar.gz postgresql-34ef02b4d4c06e2bae6ad09cfd6d9c097eb73743.zip |
Before exiting walreceiver, fsync() all the WAL received.
Otherwise WAL recovery will replay the un-flushed WAL after walreceiver has
exited, which can lead to a non-recoverable standby if the system crashes hard
at that point.
Diffstat (limited to 'src/include/postgres_ext.h')
0 files changed, 0 insertions, 0 deletions