Skip to content

Commit a0a61f4

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 parent cc28a27 commit a0a61f4

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
#ifdef WIN32
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy