]> 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:43:01 +0000 (01:43 -0400)
committerBruce Momjian <bruce@momjian.us>
Sun, 24 Jul 2011 05:43:48 +0000 (01:43 -0400)
commit7f4c34739b183b5cf4e9141e3b2e09b99bf7cbad
tree3eb3e6aea47459f6ae41d151ee7d2cdb52fafbf2
parent552a5c73e08b74968a5f1591c5f09dc8f519a173
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