postgresql/src
Bruce Momjian b710248dd3 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:10 -04:00
..
backend Don't downcase entries within shared_preload_libraries et al. 2017-06-20 13:03:29 -04:00
bin pg_upgrade: start/stop new server after pg_resetwal 2017-06-20 13:20:10 -04:00
common Post-PG 10 beta1 pgperltidy run 2017-05-17 19:01:23 -04:00
fe_utils Allow psql variable substitution to occur in backtick command strings. 2017-04-01 21:44:54 -04:00
include Tweak publication fetching in psql 2017-06-20 12:35:02 -04:00
interfaces Fix typo in code comment 2017-06-15 09:45:13 -04:00
makefiles Always use -fPIC, not -fpic, when building shared libraries with gcc. 2017-06-01 13:32:55 -04:00
pl Teach PL/pgSQL about partitioned tables. 2017-06-14 09:00:01 +01:00
port Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
template
test Avoid regressions in foreign-key-based selectivity estimates. 2017-06-19 15:33:41 -04:00
timezone Guard against null t->tm_zone in strftime.c. 2017-05-07 12:33:12 -04:00
tools Teach pgindent to skip files generated by bison or flex automatically. 2017-06-16 23:14:40 -04:00
tutorial Recommend wrappers of PG_DETOAST_DATUM_PACKED(). 2017-03-12 19:35:33 -04:00
.gitignore
DEVELOPERS
Makefile Remove redundant coverage target 2017-02-17 08:56:57 -05:00
Makefile.global.in Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
Makefile.shlib Remove support for bcc and msvc standalone libpq builds 2017-04-11 15:22:21 +02:00
nls-global.mk