pg_upgrade: prevent automatic oid assignment

Bruce Momjian <bruce@momjian.us>

Commit: a7ae1dcf4939cf643c5abe8dd673e4b87a6efd42
Author: Bruce Momjian <bruce@momjian.us>
Date: 2014-08-26T02:19:05Z
Releases: 9.5.0
pg_upgrade:  prevent automatic oid assignment

Prevent automatic oid assignment when in binary upgrade mode.  Also
throw an error when contrib/pg_upgrade_support functions are called when
not in binary upgrade mode.

This prevent automatically-assigned oids from conflicting with later
pre-assigned oids coming from the old cluster.  It also makes sure oids
are preserved in call important cases.

Files