summaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
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:47:11 -0400
commit4b71d28d586fa9af55713a0652614e64027789a7 (patch)
tree4a68af76fc79534111d50b2c11aa249607c0ef26 /src/tutorial/complex.c
parent1dadd36dbb54fda1c43f1163ca39bbe35741952b (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/complex.c')
0 files changed, 0 insertions, 0 deletions