Re: pg_ctl -w (wait) option on Windows - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: pg_ctl -w (wait) option on Windows
Date
Msg-id 46897572.8050003@hagander.net
Whole thread Raw
In response to pg_ctl -w (wait) option on Windows  (Dave Page <dpage@postgresql.org>)
List pgsql-patches
Dave Page wrote:
> The attached patch implements the following fixes to pg_ctl on Windows:
>
> - Fix the -w (wait) option to work in Windows service mode, per bug
> #3382. This is required on Windows because pg_ctl reports running status
> to the service control manager when actually still in recovery/startup,
> causing any dependent services to start too early.
>
> - Prevent the -w option being passed to the postmaster.
>
> - Read the postmaster options file when starting as a Windows service.
>

Applied and backpatched to 8.2. Thanks.

//Magnus

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: SPI-header-files safe for C++-compiler
Next
From: Bruce Momjian
Date:
Subject: Re: Load Distributed Checkpoints, final patch