aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-05-04 14:13:53 -0400
committerRobert Haas <rhaas@postgresql.org>2015-05-04 14:13:53 -0400
commit2ce439f3379aed857517c8ce207485655000fc8e (patch)
tree196ccf42f41939b101aa6d4587ca93c8060b51a2 /src/backend/executor
parentec3d976bce7e322c29f1007d19b63b7a3a1a6ee4 (diff)
downloadpostgresql-2ce439f3379aed857517c8ce207485655000fc8e.tar.gz
postgresql-2ce439f3379aed857517c8ce207485655000fc8e.zip
Recursively fsync() the data directory after a crash.
Otherwise, if there's another crash, some writes from after the first crash might make it to disk while writes from before the crash fail to make it to disk. This could lead to data corruption. Back-patch to all supported versions. Abhijit Menon-Sen, reviewed by Andres Freund and slightly revised by me.
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions