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-0000UQ-Ew@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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/262fbcb9dd4a357a8b8147b6ac217b41e905be3a

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

Responses

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.