Re: pg_ctl -w (wait) option on Windows

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Dave Page <dpage(at)postgresql(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_ctl -w (wait) option on Windows
Date: 2007-07-02 22:00:18
Message-ID: 46897572.8050003@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-07-02 23:44:54 Re: Load Distributed Checkpoints, final patch
Previous Message Jim C. Nasby 2007-07-02 21:52:22 Still recommending daily vacuum...