pg_upgrade: use CTE query rather than temp table

Bruce Momjian <bruce@momjian.us>

Commit: 5d16332e96977d8166ea631891f6e2cf3ff11f45
Author: Bruce Momjian <bruce@momjian.us>
Date: 2014-08-26T01:22:08Z
Releases: 9.5.0
pg_upgrade:  use CTE query rather than temp table

Now that 8.3 is not supported, we can use a CTE and not temp tables.
This allows for auto-oid assignment protection in a future patch.

Files

PathChange+/−
contrib/pg_upgrade/info.c modified +67 −63