Fix some problems with patch to fsync the data directory.
Robert Haas <rhaas@postgresql.org>
Fix some problems with patch to fsync the data directory. pg_win32_is_junction() was a typo for pgwin32_is_junction(). open() was used not only in a two-argument form, which breaks on Windows, but also where BasicOpenFile() should have been used. Per reports from Andrew Dunstan and David Rowley.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/file/fd.c | modified | +2 −2 |