]> granicus.if.org Git - postgresql/commit
Fix some problems with patch to fsync the data directory.
authorRobert Haas <rhaas@postgresql.org>
Tue, 5 May 2015 12:30:28 +0000 (08:30 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 5 May 2015 13:25:51 +0000 (09:25 -0400)
commit6ee1a7738ad04a1e6e481c81149770b2e565c0c1
tree56bf6ff3e4114d62c99968b765d0f05c92b3bb42
parent4b71d28d586fa9af55713a0652614e64027789a7
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.
src/backend/storage/file/fd.c