pg_upgrade: preserve freeze info for postgres/template1 dbs

Bruce Momjian <bruce@momjian.us>

Commit: 55179b03ea05af8d05adfe53657e1f1b742d7ceb
Author: Bruce Momjian <bruce@momjian.us>
Date: 2015-02-12T02:02:07Z
Releases: 9.1.16
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

Files

PathChange+/−
src/bin/pg_dump/pg_dumpall.c modified +10 −10