postgres/contrib/pg_upgrade
Bruce Momjian 65beccae51 pg_upgrade: start/stop new server after pg_resetwal
When commit 0f33a719fd 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
2017-06-20 13:20:02 -04:00
..
.gitignore Update .gitignore for pg_upgrade 2014-12-17 11:59:45 +01:00
check.c pg_upgrade: start/stop new server after pg_resetwal 2017-06-20 13:20:02 -04:00
controldata.c Fix spelling mistake. 2016-01-14 23:16:26 -05:00
dump.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
exec.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
file.c pg_upgrade: fix CopyFile() on Windows to fail on file existence 2015-11-24 17:18:27 -05:00
function.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
IMPLEMENTATION Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
info.c pg_dump, pg_upgrade: allow postgres/template1 tablespace moves 2015-09-11 15:51:10 -04:00
Makefile Fix pg_dump to handle inherited NOT VALID check constraints correctly. 2015-10-01 16:19:49 -04:00
option.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
page.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
pg_upgrade.c pg_upgrade: start/stop new server after pg_resetwal 2017-06-20 13:20:02 -04:00
pg_upgrade.h pg_upgrade: start/stop new server after pg_resetwal 2017-06-20 13:20:02 -04:00
relfilenode.c Remove tabs after spaces in C comments 2014-05-06 11:26:27 -04:00
server.c Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:53 -04:00
tablespace.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
test.sh Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:53 -04:00
TESTING Remove whitespace from end of lines 2012-05-15 22:19:41 +03:00
util.c Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:53 -04:00
version_old_8_3.c Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:53 -04:00
version.c Obstruct shell, SQL, and conninfo injection via database and role names. 2016-08-08 10:07:53 -04:00