pg_upgrade: preserve freeze info for postgres/template1 dbs

Bruce Momjian <bruce@momjian.us>

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