summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2013-07-02 14:29:27 +0000
committerBruce Momjian2013-07-02 14:29:49 +0000
commitcce5d851ed773dd01bfb0ba3e653636fb8f40f32 (patch)
tree3a5a784b6dfd5a6c6d93da0b118996e8016a97b3
parent568d4138c646cd7cd8a837ac244ef2caf27c6bb8 (diff)
pg_upgrade: revert changing '' to ""
On the command line, GUC option strings are handled by the guc parser, not by the shell parser, so '' is the proper way to represent a zero-length string. This reverts commit 3132a9b7ab3d76c15f88cfa29792fd888e7a959e.
-rw-r--r--contrib/pg_upgrade/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/server.c b/contrib/pg_upgrade/server.c
index 7e972315f8..c1d459dd82 100644
--- a/contrib/pg_upgrade/server.c
+++ b/contrib/pg_upgrade/server.c
@@ -190,7 +190,7 @@ start_postmaster(ClusterInfo *cluster, bool throw_error)
#ifdef HAVE_UNIX_SOCKETS
/* prevent TCP/IP connections, restrict socket access */
strcat(socket_string,
- " -c listen_addresses=\"\" -c unix_socket_permissions=0700");
+ " -c listen_addresses='' -c unix_socket_permissions=0700");
/* Have a sockdir? Tell the postmaster. */
if (cluster->sockdir)