aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/constraint.c
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:19:32 -0400
commitd8ac77ab178ddb2ae043b8c463cd30c031e793d0 (patch)
tree92a36e156882232aaf6dbe7705d7ad022928130a /src/backend/commands/constraint.c
parent997066f4456c0fc582e62a50e296c77360212049 (diff)
downloadpostgresql-d8ac77ab178ddb2ae043b8c463cd30c031e793d0.tar.gz
postgresql-d8ac77ab178ddb2ae043b8c463cd30c031e793d0.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/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions