Re: Service startup delay - Mailing list pgsql-hackers-win32

From Dave Page
Subject Re: Service startup delay
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7802@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Service startup delay  ("Barry Lind" <blind@xythos.com>)
Responses Re: Service startup delay
List pgsql-hackers-win32

> -----Original Message-----
> From: pgsql-hackers-win32-owner@postgresql.org
> [mailto:pgsql-hackers-win32-owner@postgresql.org] On Behalf
> Of Bruce Momjian
> Sent: 20 August 2004 19:00
> To: Barry Lind
> Cc: pgsql-hackers-win32@postgresql.org; Max Dunn
> Subject: Re: [pgsql-hackers-win32] Service startup delay
>
>
> I think you need to use 'pg_ctl -w' to wait for it to start.
>

Does -w work when starting in service mode? Aside from that, one
possible problem with this is what happens if the database goes into
recovery mode at startup. Whilst waiting for that to run, I would think
it's possible that the service control manager would timeout waiting for
the service to complete startup.

Regards, Dave.

pgsql-hackers-win32 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: postmaster.pid
Next
From: "Max Dunn"
Date:
Subject: Re: Service startup delay