pgsql: In pg_upgrade on Windows, check if the directory is writable by - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: In pg_upgrade on Windows, check if the directory is writable by
Date
Msg-id E1QkrTq-00036r-4I@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
In pg_upgrade on Windows, check if the directory is writable by actually
creating and removing a file because access() doesn't work on that
platform.

Backpatch to 9.1 where this check was added.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7f4c34739b183b5cf4e9141e3b2e09b99bf7cbad

Modified Files
--------------
contrib/pg_upgrade/exec.c |   41 ++++++++++++++++++++++++++++++++---------
1 files changed, 32 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Unbreak Windows builds broken by EDITOR_LINENUMBER_ARG change.
Next
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade on Windows, check if the directory is writable by