summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.source
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-05-04 12:06:53 -0400
committerRobert Haas <rhaas@postgresql.org>2015-05-04 12:27:55 -0400
commit14de825dee324cb6b1e8298ee845e1134edcc33e (patch)
tree8a24ab6a2efa90322632684d29513b9d75197357 /src/tutorial/funcs.source
parente60581fdf3dee39d189925673ec17d2c794e84b5 (diff)
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/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions