pgsql: Improve pg_upgrade's checks for required executables. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Improve pg_upgrade's checks for required executables.
Date
Msg-id E1PY10Q-0005I5-4V@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve pg_upgrade's checks for required executables.

Don't insist on pg_dumpall and psql being present in the old cluster,
since they are not needed.  Do insist on pg_resetxlog being present
(in both old and new), since we need it.  Also check for pg_config,
but only in the new cluster.  Remove the useless attempt to call
pg_config in the old cluster; we don't need to know the old value of
--pkglibdir.  (In the case of a stripped-down migration installation
there might be nothing there to look at anyway, so any future change
that might reintroduce that need would have to be considered carefully.)

Per my attempts to build a minimal previous-version installation to support
pg_upgrade.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=ee718c23105d7ede1a55e6ac9832b8a54a496ed6

Modified Files
--------------
contrib/pg_upgrade/exec.c   |   18 ++++++++++++------
contrib/pg_upgrade/option.c |    6 +++++-
2 files changed, 17 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: pgsql: Add REPLICATION privilege for ROLEs
Next
From: Bruce Momjian
Date:
Subject: pgsql: Doc wording improvement: taken -> accepted