BUG #7548: pg_upgrade still requires pg_config

Started by Reinhard Maxover 13 years ago2 messagesbugs
Jump to latest
#1Reinhard Max
max@suse.de

The following bug has been logged on the website:

Bug reference: 7548
Logged by: Reinhard Max
Email address: max@suse.de
PostgreSQL version: 9.1.5
Operating system: openSUSE
Description:

It looks like the attempt to remove pg_upgrade's dependency on pg_config
(http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=2815574) was
incomplete, since contrib/pg_upgrade/exec.c still contains the line

validate_exec(cluster->bindir, "pg_config");

which makes pg_upgrade refuse to run when pg_config can't be found.

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Reinhard Max (#1)
Re: BUG #7548: pg_upgrade still requires pg_config

On Mon, 2012-09-17 at 16:53 +0000, max@suse.de wrote:

It looks like the attempt to remove pg_upgrade's dependency on pg_config
(http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=2815574) was
incomplete, since contrib/pg_upgrade/exec.c still contains the line

validate_exec(cluster->bindir, "pg_config");

which makes pg_upgrade refuse to run when pg_config can't be found.

Fixed.