projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c3c99
)
pg_upgrade: fix define adjusted during testing
author
Bruce Momjian
<bruce@momjian.us>
Fri, 15 Aug 2014 16:28:18 +0000
(12:28 -0400)
committer
Bruce Momjian
<bruce@momjian.us>
Fri, 15 Aug 2014 16:28:18 +0000
(12:28 -0400)
from commit
e4c3c99ac3d4777458ef3e94b037438b244b72b6
contrib/pg_upgrade/option.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/option.c
b/contrib/pg_upgrade/option.c
index 2e7c3479d685089c790d7d7972bf548040c26943..ac73ec11a53d9258630e641cac11c733e72ed127 100644
(file)
--- 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");
-#if
n
def 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