pgsql: Fix some problems with patch to fsync the data directory. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix some problems with patch to fsync the data directory.
Date
Msg-id E1YpcvT-0000UD-Dk@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/456ff0863851d70dce679ca3f631392589e31a33

Modified Files
--------------
src/backend/storage/file/fd.c |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pgsql: Recursively fsync() the data directory after a crash.
Next
From: Robert Haas
Date:
Subject: pgsql: Fix some problems with patch to fsync the data directory.