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:07 +0000 (21:02 -0500)
commit55179b03ea05af8d05adfe53657e1f1b742d7ceb
tree730e1a0026e7c569c8af3f5be229dabeab714d0e
parent32e6331958390ef8d09c5d696ec0afb1f34cd1e9
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