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

Commit1906b1e

Browse files
committed
Tighten check for --forkchild argument when spawning child process
Commitaafc05d removed all the other --fork* arguments. Altoughthis is inconsequential, backpatch to v17 since this is new.Author: Nathan BossartDiscussion:https://www.postgresql.org/message-id/ZnCCEN0l3qWv-XpW@nathan
1 parent14387ab commit1906b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/main/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ main(int argc, char *argv[])
185185
elseif (argc>1&&strcmp(argv[1],"--boot")==0)
186186
BootstrapModeMain(argc,argv, false);
187187
#ifdefEXEC_BACKEND
188-
elseif (argc>1&&strncmp(argv[1], "--fork",6)==0)
188+
elseif (argc>1&&strncmp(argv[1], "--forkchild",11)==0)
189189
SubPostmasterMain(argc,argv);
190190
#endif
191191
elseif (argc>1&&strcmp(argv[1], "--describe-config") == 0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp