diff options
author | Bruce Momjian <bruce@momjian.us> | 2018-07-28 15:01:55 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2018-07-28 15:01:55 -0400 |
commit | 244142d32afd02e7408a2ef1f249b00393983822 (patch) | |
tree | bf897ec094295b822a6738be34635de65a9f78e1 /src/backend/access/gist/gistget.c | |
parent | 60e3bd1d7f92430b24b710ecf0559656eb8ed499 (diff) | |
download | postgresql-244142d32afd02e7408a2ef1f249b00393983822.tar.gz |
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/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions