aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/lockfuncs.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2015-05-07 15:04:13 +0200
committerMagnus Hagander <magnus@hagander.net>2015-05-07 15:04:13 +0200
commit1a241d22ae9f170ac32937dd053676564e58fbc3 (patch)
treeef3abecc326e444aa8126e015d829fb2d220f3c4 /src/backend/utils/adt/lockfuncs.c
parentd678bde655892392878fdfa8a8d4e9390227ab64 (diff)
downloadpostgresql-1a241d22ae9f170ac32937dd053676564e58fbc3.tar.gz
postgresql-1a241d22ae9f170ac32937dd053676564e58fbc3.zip
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
Diffstat (limited to 'src/backend/utils/adt/lockfuncs.c')
0 files changed, 0 insertions, 0 deletions