From ea9b8abd6f457706a3501849d21587af178113a1 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 15 Aug 2014 12:28:18 -0400 Subject: [PATCH] pg_upgrade: fix define adjusted during testing from commit e4c3c99ac3d4777458ef3e94b037438b244b72b6 --- contrib/pg_upgrade/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/pg_upgrade/option.c b/contrib/pg_upgrade/option.c index 2e7c3479d6..ac73ec11a5 100644 --- a/contrib/pg_upgrade/option.c +++ b/contrib/pg_upgrade/option.c @@ -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