From: | momjian(at)svr1(dot)postgresql(dot)org (Bruce Momjian) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql-server: The attached patch improves pg_ctl's win32 service code to |
Date: | 2004-08-28 23:26:37 |
Message-ID: | 20040828232637.B29E85E46F8@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
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.
Dave Page
Modified Files:
--------------
pgsql-server/src/bin/pg_ctl:
pg_ctl.c (r1.27 -> r1.28)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/bin/pg_ctl/pg_ctl.c.diff?r1=1.27&r2=1.28)
From | Date | Subject | |
---|---|---|---|
Next Message | User Dpage | 2004-08-29 00:04:05 | pginstaller - pginst: Added basic framework for contrib modules, and |
Previous Message | Bruce Momjian | 2004-08-28 22:55:06 | pgsql-server: > Am Dienstag, 17. |