pgsql: Fix some problems with patch to fsync the data directory.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix some problems with patch to fsync the data directory.
Date: 2015-05-05 13:30:19
Message-ID: E1YpcvT-0000UD-Dk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-05-05 16:52:00 Re: pgsql: Fix some problems with patch to fsync the data directory.
Previous Message Robert Haas 2015-05-05 13:17:07 Re: pgsql: Recursively fsync() the data directory after a crash.