pgsql: In pg_upgrade, remove dependency on pg_config, as that might not - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: In pg_upgrade, remove dependency on pg_config, as that might not
Date
Msg-id E1S9cgv-0006IX-CY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/28155746150f584e8147e2e3f68fec8c0d819cbf

Modified Files
--------------
contrib/pg_upgrade/check.c    |   42 -----------------------------------------
contrib/pg_upgrade/function.c |   15 ++++++++++---
2 files changed, 11 insertions(+), 46 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Honor inputdir and outputdir when converting regression files.
Next
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, remove dependency on pg_config, as that might not