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:29:15 +0200 |
commit | 1435a8554cd514d668a46c4f6b1e4a1e3bd30fd5 (patch) | |
tree | e83561c414a71587a7b4a9f0272132bd9b0c474d /src/pl/plpython/plpython.c | |
parent | a08363d70cb51f361c9525384e9f46a252fcd92e (diff) | |
download | postgresql-1435a8554cd514d668a46c4f6b1e4a1e3bd30fd5.tar.gz postgresql-1435a8554cd514d668a46c4f6b1e4a1e3bd30fd5.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/pl/plpython/plpython.c')
0 files changed, 0 insertions, 0 deletions