pg_upgrade: preserve freeze info for postgres/template1 dbs
authorBruce Momjian <bruce@momjian.us>
Thu, 12 Feb 2015 02:02:07 +0000 (21:02 -0500)
committerBruce Momjian <bruce@momjian.us>
Thu, 12 Feb 2015 02:02:28 +0000 (21:02 -0500)
commite20523f8f7649f0cb971ef0e8f8d97af9aa55b54
treeb33bf2debc9e8458b4df21686ae81eb4acba9e13
parent734bbf2e978314cad86e1dd8fefe7f0c3f52a4ef
pg_upgrade:  preserve freeze info for postgres/template1 dbs

pg_database.datfrozenxid and pg_database.datminmxid were not preserved
for the 'postgres' and 'template1' databases.  This could cause missing
clog file errors on access to user tables and indexes after upgrades in
these databases.

Backpatch through 9.0
src/bin/pg_dump/pg_dumpall.c