]> 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:29:49 +0000 (09:29 -0400)
commit456ff0863851d70dce679ca3f631392589e31a33
tree4fe3ae9b8f09219754bc1817d0cc35f0700d175b
parentc0574cd5aa96b988bb1f0287914dcc8b52fb01bd
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