Content-Length: 259063 | pFad | http://github.com/postgrespro/postgres/commit/cce5d851ed773dd01bfb0ba3e653636fb8f40f32

EE pg_upgrade: revert changing '' to "" · postgrespro/postgres@cce5d85 · GitHub
Skip to content

Commit cce5d85

Browse files
committed
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 3132a9b.
1 parent 568d413 commit cce5d85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_upgrade/server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ start_postmaster(ClusterInfo *cluster, bool throw_error)
190190
#ifdef HAVE_UNIX_SOCKETS
191191
/* prevent TCP/IP connections, restrict socket access */
192192
strcat(socket_string,
193-
" -c listen_addresses=\"\" -c unix_socket_permissions=0700");
193+
" -c listen_addresses='' -c unix_socket_permissions=0700");
194194

195195
/* Have a sockdir? Tell the postmaster. */
196196
if (cluster->sockdir)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/cce5d851ed773dd01bfb0ba3e653636fb8f40f32

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy