In pg_upgrade, remove dependency on pg_config, as that might not be in

Bruce Momjian <bruce@momjian.us>

Commit: 28155746150f584e8147e2e3f68fec8c0d819cbf
Author: Bruce Momjian <bruce@momjian.us>
Date: 2012-03-19T13:31:50Z
Releases: 9.1.4
In pg_upgrade, remove dependency on pg_config, as that might not be in
the non-development install.  Instead, use the LOAD mechanism to check
for the pg_upgrade_support shared object, like we do for other shared
object checks.

Backpatch to 9.1.

Report from Àlvaro

Files

PathChange+/−
contrib/pg_upgrade/check.c modified +0 −42
contrib/pg_upgrade/function.c modified +11 −4