Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3132a9b

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 parent7408c5d commit3132a9b

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
#ifdefHAVE_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)

[8]ページ先頭

©2009-2025 Movatter.jp