]> 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:22:51 +0000 (09:22 -0400)
commit53e1498c658d46f6fa99c63beabb350dae3c03ed
tree63ba755614f00141989b60d40c8c5702a19369b5
parent2bc3397168580a28a1f072bec46d395f4eb54c08
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