diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2017-03-27 19:33:01 +0300 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2017-03-27 19:33:01 +0300 |
commit | 1b02be21f271db6bd3cd43abb23fa596fcb6bac3 (patch) | |
tree | 1052877089af6b9cf2c8cc4f91d365147de40575 /src/backend/access/gist/gistvacuum.c | |
parent | 1f171a1803c28d3ae24636c9ca3352ec82c39e5f (diff) | |
download | postgresql-1b02be21f271db6bd3cd43abb23fa596fcb6bac3.tar.gz postgresql-1b02be21f271db6bd3cd43abb23fa596fcb6bac3.zip |
Fsync directory after creating or unlinking file.
If file was created/deleted just before powerloss it's possible that
file system will miss that. To prevent it, call fsync() where creating/
unlinkg file is critical.
Author: Michael Paquier
Reviewed-by: Ashutosh Bapat, Takayuki Tsunakawa, me
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions