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 | 260fe9f2b02b67de1e5ff29faf123e4220586c43 (patch) | |
tree | be33655c5c4055bb4170d1c2a0761d5ca9e4ffba /src/backend/utils/adt/regexp.c | |
parent | cda8e1182727bb09d77c6ec42bb4abf5ba27d2bb (diff) | |
download | postgresql-260fe9f2b02b67de1e5ff29faf123e4220586c43.tar.gz postgresql-260fe9f2b02b67de1e5ff29faf123e4220586c43.zip |
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/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions