pg_upgrade: preserve freeze info for postgres/template1 dbs

Bruce Momjian <bruce@momjian.us>

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