From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Dave Page <dpage(at)vale-housing(dot)co(dot)uk> |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Service control enhancements |
Date: | 2004-08-28 23:26:42 |
Message-ID: | 200408282326.i7SNQgv10446@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Patch applied. Thanks.
---------------------------------------------------------------------------
Dave Page wrote:
> The attached patch improves pg_ctl's win32 service code to eliminate
> some possible causes of the stale postmaster.pid problem that some users
> have reported.
>
> - The service did not properly report that it accepts
> SERVICE_CONTROL_SHUTDOWN events, thus it's possible the SCM simply
> killed the postmaster on shutdown.
>
> - 'WaitHints' are now given to the SCM to prevent it timing out if
> pg_ctl doesn't respond to a control event quickly enough.
>
> - During shutdown, the service checkpoint counter is incremented every
> five seconds for up to a minute to prevent the SCM timing out and
> assuming the service is not responding.
>
> Please apply.
>
> Regards, Dave.
Content-Description: pg_ctl.c.diff
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
--
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 | Serguei Mokhov | 2004-08-29 01:23:04 | Translation updates for 7.4/8.0: postgres-ru |
Previous Message | Bruce Momjian | 2004-08-28 22:55:11 | Re: [PATCHES] BUG #1219: pgxs does not work fully |