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:44 +0000 (21:02 -0500)
commit866f3017a88b9cb639f05c9ad413e5eafe0266e3
tree5412c0fbe20f80692904abf8a2f9981d06c630b5
parent8785e6e378f919827d851926ea0f400f08afd477
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