git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d678bde) | patch
Properly send SCM status updates when shutting down service on Windows
Thu, 7 May 2015 13:04:13 +0000 (15:04 +0200)
Thu, 7 May 2015 13:04:13 +0000 (15:04 +0200)
commit 1a241d22ae9f170ac32937dd053676564e58fbc3
Properly send SCM status updates when shutting down service on Windows

The Service Control Manager should be notified regularly during a shutdown
that takes a long time. Previously we would increaes the counter, but forgot
to actually send the notification to the system. The loop counter was also
incorrectly initalized in the event that the startup of the system took long
enough for it to increase, which could cause the shutdown process not to wait
as long as expected.

Krystian Bigaj, reviewed by Michael Paquier
src/bin/pg_ctl/pg_ctl.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /