pg_upgrade: preserve freeze info for postgres/template1 dbs

Bruce Momjian <bruce@momjian.us>

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