The attached patch improves pg_ctl's win32 service code to eliminate
some possible causes of the stale postmaster.pid problem that some users
- 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.
Description: application/octet-stream (1.8 KB)
pgsql-patches by date
|Next:||From: Reini Urban||Date: 2004-08-24 19:49:51|
|Subject: cygwin 8.0.0beta1 postmaster/syslogger.c, port/dirmod.c, timezone/pgtz.c|
|Previous:||From: Fabien COELHO||Date: 2004-08-24 13:48:32|
|Subject: Re: [PATCHES] BUG #1219: pgxs does not work fully|