pg_upgrade: preserve freeze info for postgres/template1 dbs

Bruce Momjian <bruce@momjian.us>

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