diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-08-28 23:26:37 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-08-28 23:26:37 +0000 |
commit | fe90fb4d3733550340651351d44efcae35402324 (patch) | |
tree | 234a373967e5786a4ec1dc9604c0ff49b7708e9b /contrib/btree_gist/btree_gist.c | |
parent | f7587aeba898b8b558741006564b86e9d298c0bc (diff) | |
download | postgresql-fe90fb4d3733550340651351d44efcae35402324.tar.gz |
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
Diffstat (limited to 'contrib/btree_gist/btree_gist.c')
0 files changed, 0 insertions, 0 deletions