postgresql/src
Bruce Momjian 0efdbd323e 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
..
backend Avoid regressions in foreign-key-based selectivity estimates. 2017-06-19 15:33:41 -04:00
bin pg_upgrade: start/stop new server after pg_resetwal 2017-06-20 13:20:02 -04:00
common pgindent run for 9.6 2016-06-09 18:02:36 -04:00
fe_utils Restore psql's SIGPIPE setting if popen() fails. 2016-12-07 12:39:24 -05:00
include Fix leaking of small spilled subtransactions during logical decoding. 2017-06-18 19:13:15 -07:00
interfaces Clear auth context correctly when re-connecting after failed auth attempt. 2017-06-07 14:04:54 +03:00
makefiles Always use -fPIC, not -fpic, when building shared libraries with gcc. 2017-06-01 13:32:56 -04:00
pl Translation updates 2017-05-08 10:10:54 -04:00
port Stamp 9.6.3. 2017-05-08 17:15:12 -04:00
template Remove some remains from Alpha support removal 2015-10-29 16:40:14 -04:00
test Avoid regressions in foreign-key-based selectivity estimates. 2017-06-19 15:33:41 -04:00
timezone Fix new warnings from GCC 7 2017-05-16 08:52:39 -04:00
tools Take PROVE_FLAGS from the command line but not the environment 2017-06-10 10:22:14 -04:00
tutorial Update copyright for 2016 2016-01-02 13:33:40 -05:00
.gitignore
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS
Makefile Install TAP test infrastructure so it's available for extension testing. 2016-09-23 15:50:00 -04:00
Makefile.global.in Take PROVE_FLAGS from the command line but not the environment 2017-06-10 10:22:14 -04:00
Makefile.shlib Fix typos in comments. 2017-02-06 11:34:15 +02:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00