Content-Length: 258129 | pFad | http://github.com/postgrespro/postgres_cluster/commit/3132a9b7ab3d76c15f88cfa29792fd888e7a959e

30 pg_upgrade: use "" rather than '', for Windows · postgrespro/postgres_cluster@3132a9b · GitHub
Skip to content

Commit 3132a9b

Browse files
committed
pg_upgrade: use "" rather than '', for Windows
If we ever support unix sockets on Windows, we should use "" rather than '' for zero-length strings on the command-line, so use that.
1 parent 7408c5d commit 3132a9b

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_cluster/commit/3132a9b7ab3d76c15f88cfa29792fd888e7a959e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy