Fix some problems with patch to fsync the data directory.

Robert Haas <rhaas@postgresql.org>

Commit: 603fe0181ad083ddc83f291fdce8ddc43d617154
Author: Robert Haas <rhaas@postgresql.org>
Date: 2015-05-05T13:16:39Z
Releases: 9.4.2
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

PathChange+/−
src/backend/storage/file/fd.c modified +2 −2