]> granicus.if.org Git - postgresql/commit
In pg_upgrade on Windows, check if the directory is writable by actually
authorBruce Momjian <bruce@momjian.us>
Sun, 24 Jul 2011 05:42:45 +0000 (01:42 -0400)
committerBruce Momjian <bruce@momjian.us>
Sun, 24 Jul 2011 05:43:57 +0000 (01:43 -0400)
commit081a5518c0a7dcccfc76a12ae9d593648b68ce53
tree924aa7eeb05c3953c23e3993823077833c660b93
parente399eb74d96270bf1d4a0bb9f4503cac3d90c1e2
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.
contrib/pg_upgrade/exec.c