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:19:39 +0000 (09:19 -0400)
commit6fd666954bb98b757b56e4f88cc7a8729b4ec968
tree51fd64157a14dc989a5ba3e46f69eed5124c6cd8
parent14de825dee324cb6b1e8298ee845e1134edcc33e
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