pgsql: In pg_upgrade on Windows, check if the directory is writable by
pgsql: In pg_upgrade on Windows, check if the directory is writable by
От:
Bruce Momjian <bruce@momjian.us>
Дата:
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(-)