]> 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:16:39 +0000 (09:16 -0400)
commit603fe0181ad083ddc83f291fdce8ddc43d617154
tree70b117cc069029c4c7ea3bc93ba79050ae4ab4cb
parentd8ac77ab178ddb2ae043b8c463cd30c031e793d0
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