aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayutils.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-17 12:22:24 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2011-01-17 12:27:35 +0200
commit34ef02b4d4c06e2bae6ad09cfd6d9c097eb73743 (patch)
tree87ff48f2fb375a966dc7adac1666fbd199f56c0f /src/backend/utils/adt/arrayutils.c
parente0c274679cb50064a92472c94c7ef5849a156536 (diff)
downloadpostgresql-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/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions