pg_upgrade: fix define adjusted during testing

from commit e4c3c99ac3
This commit is contained in:
Bruce Momjian 2014-08-15 12:28:18 -04:00
parent e4c3c99ac3
commit ea9b8abd6f

View File

@ -230,7 +230,7 @@ parseCommandLine(int argc, char *argv[])
check_required_directory(&new_cluster.pgdata, &new_cluster.pgconfig,
"PGDATANEW", "-D", "new cluster data resides");
#ifndef WIN32
#ifdef WIN32
/*
* On Windows, initdb --sync-only will fail with a "Permission denied"
* error on file pg_upgrade_utility.log if pg_upgrade is run inside