Make CREATE DATABASE safe against losing whole files by fsyncing the
directory and not just the individual files. Back-patch to 8.1 -- before that we just called "cp -r" and never fsynced anything anyways.
Showing
Please register or sign in to comment