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

Commitcce5d85

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 azero-length string. This reverts commit3132a9b.
1 parent568d413 commitcce5d85

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