From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Dave Page <dpage(at)vale-housing(dot)co(dot)uk> |
Cc: | Max Dunn <mdunn(at)xythos(dot)com>, Barry Lind <blind(at)xythos(dot)com>, pgsql-hackers-win32(at)postgresql(dot)org, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Service startup delay |
Date: | 2004-08-28 21:01:43 |
Message-ID: | 200408282101.i7SL1hK22093@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 pgsql-patches |
Patch applied. Thanks.
---------------------------------------------------------------------------
Dave Page wrote:
>
>
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> > Sent: 26 August 2004 02:44
> > To: Max Dunn
> > Cc: Dave Page; 'Barry Lind'; pgsql-hackers-win32(at)postgresql(dot)org
> > Subject: Re: [pgsql-hackers-win32] Service startup delay
> >
> > > 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.
> >
> > Would a Win32 guy look at this?
>
> No problem.
>
> Regards, Dave.
>
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/bin/pg_ctl/pg_ctl.c,v
> retrieving revision 1.25
> diff -u -r1.25 pg_ctl.c
> --- pg_ctl.c 21 Aug 2004 03:12:55 -0000 1.25
> +++ pg_ctl.c 26 Aug 2004 14:37:13 -0000
> @@ -832,6 +832,9 @@
> strcat(cmdLine,"\"");
> }
>
> + if (do_wait)
> + strcat(cmdLine, " -w");
> +
> if (post_opts)
> {
> strcat(cmdLine," ");
> @@ -1038,7 +1041,7 @@
> printf(_(" %s status [-D DATADIR]\n"), progname);
> printf(_(" %s kill SIGNALNAME PROCESSID\n"), progname);
> #ifdef WIN32
> - printf(_(" %s register [-N servicename] [-U username] [-P
> password] [-D DATADIR] [-o \"OPTIONS\"]\n"), progname);
> + printf(_(" %s register [-N servicename] [-U username] [-P
> password] [-D DATADIR] [-w] [-o \"OPTIONS\"]\n"), progname);
> printf(_(" %s unregister [-N servicename]\n"), progname);
> #endif
> printf(_("Common options:\n"));
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-08-29 00:38:34 | Re: REPOST: InitDB Failure on install |
Previous Message | Oleg Letsinsky | 2004-08-28 16:52:58 | Re: 8.0 beta1 and XP SP2 |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-08-28 22:29:39 | Re: [PATCHES] ALTER SCHEMA ... SET TABLESPACE |
Previous Message | Bruce Momjian | 2004-08-28 21:00:36 | Re: Win32 fix: Token buffer |