]> 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:30:07 +0000 (09:30 -0400)
commit262fbcb9dd4a357a8b8147b6ac217b41e905be3a
tree499403506403251f8292f35a28a2b48d10b8bc20
parent30ba0d0c21a825bc9c0565ea331be98068536b0e
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