pgsql: Properly send SCM status updates when shutting down service on W

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Properly send SCM status updates when shutting down service on W
Дата
Msg-id E1YqLid-0003aS-DS@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/78ce2dc8ee5dc393a2b2806bef922215e82d9db7

Modified Files
--------------
src/bin/pg_ctl/pg_ctl.c |   28 ++++++++++++++++++++--------
1 file changed, 20 insertions(+), 8 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Properly send SCM status updates when shutting down service on W
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Makefile: Add comment that doc uninstall clears man directories