pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: pg_upgrade: check for clean server shutdowns 7+ messages / 1 participants [nested] [flat]
* pgsql: pg_upgrade: check for clean server shutdowns @ 2018-07-28 19:02 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 7+ messages in thread From: Bruce Momjian @ 2018-07-28 19:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/260fe9f2b02b67de1e5ff29faf123e4220586c43 Modified Files -------------- src/bin/pg_upgrade/controldata.c | 59 ++++++++++++++++++++++++++++++++++++++++ src/bin/pg_upgrade/pg_upgrade.c | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: pg_upgrade: check for clean server shutdowns @ 2018-07-28 19:02 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 7+ messages in thread From: Bruce Momjian @ 2018-07-28 19:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f878781066f64a82238423cc81cdf1f8f75a013d Modified Files -------------- contrib/pg_upgrade/controldata.c | 59 ++++++++++++++++++++++++++++++++++++++++ contrib/pg_upgrade/pg_upgrade.c | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: pg_upgrade: check for clean server shutdowns @ 2018-07-28 19:02 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 7+ messages in thread From: Bruce Momjian @ 2018-07-28 19:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/113224848aa010ce03431c76198bfdac871e8a0e Modified Files -------------- src/bin/pg_upgrade/controldata.c | 59 ++++++++++++++++++++++++++++++++++++++++ src/bin/pg_upgrade/pg_upgrade.c | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: pg_upgrade: check for clean server shutdowns @ 2018-07-28 19:02 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 7+ messages in thread From: Bruce Momjian @ 2018-07-28 19:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a5c84e0b7f38ebc5115591d7b0d4ddc706d21c41 Modified Files -------------- contrib/pg_upgrade/controldata.c | 59 ++++++++++++++++++++++++++++++++++++++++ contrib/pg_upgrade/pg_upgrade.c | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: pg_upgrade: check for clean server shutdowns @ 2018-07-28 19:02 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 7+ messages in thread From: Bruce Momjian @ 2018-07-28 19:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/244142d32afd02e7408a2ef1f249b00393983822 Modified Files -------------- src/bin/pg_upgrade/controldata.c | 59 ++++++++++++++++++++++++++++++++++++++++ src/bin/pg_upgrade/pg_upgrade.c | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: pg_upgrade: check for clean server shutdowns @ 2018-07-28 19:02 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 7+ messages in thread From: Bruce Momjian @ 2018-07-28 19:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a326ca75b3296747bd70d62fa550b6fe004ecd92 Modified Files -------------- src/bin/pg_upgrade/controldata.c | 59 ++++++++++++++++++++++++++++++++++++++++ src/bin/pg_upgrade/pg_upgrade.c | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
* pgsql: pg_upgrade: check for clean server shutdowns @ 2018-07-28 19:02 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 7+ messages in thread From: Bruce Momjian @ 2018-07-28 19:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/9a13e7f0f0c932c06fb459f497be1d83b0916613 Modified Files -------------- src/bin/pg_upgrade/controldata.c | 59 ++++++++++++++++++++++++++++++++++++++++ src/bin/pg_upgrade/pg_upgrade.c | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2018-07-28 19:02 UTC | newest] Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-07-28 19:02 pgsql: pg_upgrade: check for clean server shutdowns Bruce Momjian <bruce@momjian.us> 2018-07-28 19:02 pgsql: pg_upgrade: check for clean server shutdowns Bruce Momjian <bruce@momjian.us> 2018-07-28 19:02 pgsql: pg_upgrade: check for clean server shutdowns Bruce Momjian <bruce@momjian.us> 2018-07-28 19:02 pgsql: pg_upgrade: check for clean server shutdowns Bruce Momjian <bruce@momjian.us> 2018-07-28 19:02 pgsql: pg_upgrade: check for clean server shutdowns Bruce Momjian <bruce@momjian.us> 2018-07-28 19:02 pgsql: pg_upgrade: check for clean server shutdowns Bruce Momjian <bruce@momjian.us> 2018-07-28 19:02 pgsql: pg_upgrade: check for clean server shutdowns Bruce Momjian <bruce@momjian.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox