pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: pg_upgrade: start/stop new server after pg_resetwal 6+ messages / 1 participants [nested] [flat]
* pgsql: pg_upgrade: start/stop new server after pg_resetwal @ 2017-06-20 17:20 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2017-06-20 17:20 UTC (permalink / raw) To: pgsql-committers pg_upgrade: start/stop new server after pg_resetwal When commit 0f33a719fdbb5d8c43839ea0d2c90cd03e2af2d2 removed the instructions to start/stop the new cluster before running rsync, it was now possible for pg_resetwal/pg_resetxlog to leave the final WAL record at wal_level=minimum, preventing upgraded standby servers from reconnecting. This patch fixes that by having pg_upgrade unconditionally start/stop the new cluster after pg_resetwal/pg_resetxlog has run. Backpatch through 9.2 since, though the instructions were added in PG 9.5, they worked all the way back to 9.2. Discussion: https://postgr.es/m/20170620171844.GC24975@momjian.us Backpatch-through: 9.2 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b710248dd3f90c46bd4208e6bf1290048b9d76cd Modified Files -------------- src/bin/pg_upgrade/check.c | 20 +++++++++++--------- src/bin/pg_upgrade/pg_upgrade.c | 2 +- src/bin/pg_upgrade/pg_upgrade.h | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: start/stop new server after pg_resetwal @ 2017-06-20 17:20 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2017-06-20 17:20 UTC (permalink / raw) To: pgsql-committers pg_upgrade: start/stop new server after pg_resetwal When commit 0f33a719fdbb5d8c43839ea0d2c90cd03e2af2d2 removed the instructions to start/stop the new cluster before running rsync, it was now possible for pg_resetwal/pg_resetxlog to leave the final WAL record at wal_level=minimum, preventing upgraded standby servers from reconnecting. This patch fixes that by having pg_upgrade unconditionally start/stop the new cluster after pg_resetwal/pg_resetxlog has run. Backpatch through 9.2 since, though the instructions were added in PG 9.5, they worked all the way back to 9.2. Discussion: https://postgr.es/m/20170620171844.GC24975@momjian.us Backpatch-through: 9.2 Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/0efdbd323e53091779ddc3f048123214612a76f9 Modified Files -------------- src/bin/pg_upgrade/check.c | 16 +++++++++++----- src/bin/pg_upgrade/pg_upgrade.c | 2 +- src/bin/pg_upgrade/pg_upgrade.h | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: start/stop new server after pg_resetwal @ 2017-06-20 17:20 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2017-06-20 17:20 UTC (permalink / raw) To: pgsql-committers pg_upgrade: start/stop new server after pg_resetwal When commit 0f33a719fdbb5d8c43839ea0d2c90cd03e2af2d2 removed the instructions to start/stop the new cluster before running rsync, it was now possible for pg_resetwal/pg_resetxlog to leave the final WAL record at wal_level=minimum, preventing upgraded standby servers from reconnecting. This patch fixes that by having pg_upgrade unconditionally start/stop the new cluster after pg_resetwal/pg_resetxlog has run. Backpatch through 9.2 since, though the instructions were added in PG 9.5, they worked all the way back to 9.2. Discussion: https://postgr.es/m/20170620171844.GC24975@momjian.us Backpatch-through: 9.2 Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f4f867bda33604cf82a8c74a874dfb20a0270595 Modified Files -------------- src/bin/pg_upgrade/check.c | 16 +++++++++++----- src/bin/pg_upgrade/pg_upgrade.c | 2 +- src/bin/pg_upgrade/pg_upgrade.h | 2 +- 3 files changed, 13 insertions(+), 7 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: start/stop new server after pg_resetwal @ 2017-06-20 17:20 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2017-06-20 17:20 UTC (permalink / raw) To: pgsql-committers pg_upgrade: start/stop new server after pg_resetwal When commit 0f33a719fdbb5d8c43839ea0d2c90cd03e2af2d2 removed the instructions to start/stop the new cluster before running rsync, it was now possible for pg_resetwal/pg_resetxlog to leave the final WAL record at wal_level=minimum, preventing upgraded standby servers from reconnecting. This patch fixes that by having pg_upgrade unconditionally start/stop the new cluster after pg_resetwal/pg_resetxlog has run. Backpatch through 9.2 since, though the instructions were added in PG 9.5, they worked all the way back to 9.2. Discussion: https://postgr.es/m/20170620171844.GC24975@momjian.us Backpatch-through: 9.2 Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a0e8548811f6a4a47fe747fea72edcc3c4bf3f27 Modified Files -------------- contrib/pg_upgrade/check.c | 19 +++++++++++-------- contrib/pg_upgrade/pg_upgrade.c | 2 +- contrib/pg_upgrade/pg_upgrade.h | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: start/stop new server after pg_resetwal @ 2017-06-20 17:20 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2017-06-20 17:20 UTC (permalink / raw) To: pgsql-committers pg_upgrade: start/stop new server after pg_resetwal When commit 0f33a719fdbb5d8c43839ea0d2c90cd03e2af2d2 removed the instructions to start/stop the new cluster before running rsync, it was now possible for pg_resetwal/pg_resetxlog to leave the final WAL record at wal_level=minimum, preventing upgraded standby servers from reconnecting. This patch fixes that by having pg_upgrade unconditionally start/stop the new cluster after pg_resetwal/pg_resetxlog has run. Backpatch through 9.2 since, though the instructions were added in PG 9.5, they worked all the way back to 9.2. Discussion: https://postgr.es/m/20170620171844.GC24975@momjian.us Backpatch-through: 9.2 Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5c890645d9c4f57d49110e7943914c11012d3e85 Modified Files -------------- contrib/pg_upgrade/check.c | 19 +++++++++++-------- contrib/pg_upgrade/pg_upgrade.c | 2 +- contrib/pg_upgrade/pg_upgrade.h | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_upgrade: start/stop new server after pg_resetwal @ 2017-06-20 17:20 Bruce Momjian <bruce@momjian.us> 0 siblings, 0 replies; 6+ messages in thread From: Bruce Momjian @ 2017-06-20 17:20 UTC (permalink / raw) To: pgsql-committers pg_upgrade: start/stop new server after pg_resetwal When commit 0f33a719fdbb5d8c43839ea0d2c90cd03e2af2d2 removed the instructions to start/stop the new cluster before running rsync, it was now possible for pg_resetwal/pg_resetxlog to leave the final WAL record at wal_level=minimum, preventing upgraded standby servers from reconnecting. This patch fixes that by having pg_upgrade unconditionally start/stop the new cluster after pg_resetwal/pg_resetxlog has run. Backpatch through 9.2 since, though the instructions were added in PG 9.5, they worked all the way back to 9.2. Discussion: https://postgr.es/m/20170620171844.GC24975@momjian.us Backpatch-through: 9.2 Branch ------ REL9_2_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/65beccae51fc0bc51cd53651f36b7486902869fb Modified Files -------------- contrib/pg_upgrade/check.c | 19 +++++++++++-------- contrib/pg_upgrade/pg_upgrade.c | 2 +- contrib/pg_upgrade/pg_upgrade.h | 2 +- 3 files changed, 13 insertions(+), 10 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2017-06-20 17:20 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2017-06-20 17:20 pgsql: pg_upgrade: start/stop new server after pg_resetwal Bruce Momjian <bruce@momjian.us> 2017-06-20 17:20 pgsql: pg_upgrade: start/stop new server after pg_resetwal Bruce Momjian <bruce@momjian.us> 2017-06-20 17:20 pgsql: pg_upgrade: start/stop new server after pg_resetwal Bruce Momjian <bruce@momjian.us> 2017-06-20 17:20 pgsql: pg_upgrade: start/stop new server after pg_resetwal Bruce Momjian <bruce@momjian.us> 2017-06-20 17:20 pgsql: pg_upgrade: start/stop new server after pg_resetwal Bruce Momjian <bruce@momjian.us> 2017-06-20 17:20 pgsql: pg_upgrade: start/stop new server after pg_resetwal 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