summaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2018-07-28 15:01:55 -0400
committerBruce Momjian <bruce@momjian.us>2018-07-28 15:01:55 -0400
commitf878781066f64a82238423cc81cdf1f8f75a013d (patch)
tree0120ca5c01a02784d210e0bdd6034e29d03334ce /src/tutorial/funcs.c
parent1cf1d2d6058133b2761633cf0e855592c98f0768 (diff)
pg_upgrade: check for clean server shutdowns
Previously pg_upgrade checked for the pid file and started/stopped the server to force a clean shutdown. However, "pg_ctl -m immediate" removes the pid file but doesn't do a clean shutdown, so check pg_controldata for a clean shutdown too. Diagnosed-by: Vimalraj A Discussion: https://postgr.es/m/CAFKBAK5e4Q-oTUuPPJ56EU_d2Rzodq6GWKS3ncAk3xo7hAsOZg@mail.gmail.com Backpatch-through: 9.3
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions