Service control enhancements - Mailing list pgsql-patches

From Dave Page
Subject Service control enhancements
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E41A7864@ratbert.vale-housing.co.uk
Whole thread Raw
Responses Re: Service control enhancements  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
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.

Attachment

pgsql-patches by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: [BUGS] BUG #1219: pgxs does not work fully
Next
From: Richard van den Berg
Date:
Subject: Added schema selection to pg_restore