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

Commita0a61f4

Browse files
committed
> > Another issue is that when installing the Postgres service with
> > "pg_ctl register -w ...." the "-w" parameter was not put in> the registry "ImagePath"> > value for the Postgres service. (I added it manually to test.) So I> > suspect that "pg_ctl register" will need to be enhanced to add the> > "-w" parameter to the registry settings.Dave Page
1 parentcc28a27 commita0a61f4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.25 2004/08/21 03:12:55 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.26 2004/08/28 21:01:38 momjian Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -832,6 +832,9 @@ static char* pgwin32_CommandLine(bool registration)
832832
strcat(cmdLine,"\"");
833833
}
834834

835+
if (do_wait)
836+
strcat(cmdLine," -w");
837+
835838
if (post_opts)
836839
{
837840
strcat(cmdLine," ");
@@ -1038,7 +1041,7 @@ do_help(void)
10381041
printf(_(" %s status [-D DATADIR]\n"),progname);
10391042
printf(_(" %s kill SIGNALNAME PROCESSID\n"),progname);
10401043
#ifdefWIN32
1041-
printf(_(" %s register [-N servicename] [-U username] [-P password] [-D DATADIR] [-o \"OPTIONS\"]\n"),progname);
1044+
printf(_(" %s register [-N servicename] [-U username] [-P password] [-D DATADIR] [-w] [-o \"OPTIONS\"]\n"),progname);
10421045
printf(_(" %s unregister [-N servicename]\n"),progname);
10431046
#endif
10441047
printf(_("Common options:\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp