Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TE9ga-0004GN-M4 for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 02:06:44 +0000 Received: from mailout-de.gmx.net ([213.165.64.23]) by magus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TE9gY-0003NA-9k for pgsql-bugs@postgresql.org; Wed, 19 Sep 2012 02:06:44 +0000 Received: (qmail invoked by alias); 19 Sep 2012 02:06:40 -0000 Received: from pool-108-52-108-60.phlapa.fios.verizon.net (EHLO [192.168.1.4]) [108.52.108.60] by mail.gmx.net (mp037) with SMTP; 19 Sep 2012 04:06:40 +0200 X-Authenticated: #495269 X-Provags-ID: V01U2FsdGVkX1/fHckHTyzfzVWGZGZMjKv9wQp1r3DhoXlQ3/st7O oa6gtgOeR8gZXt Message-ID: <1348020398.13589.0.camel@vanquo.pezone.net> Subject: Re: BUG #7548: pg_upgrade still requires pg_config From: Peter Eisentraut To: max@suse.de Cc: pgsql-bugs@postgresql.org Date: Tue, 18 Sep 2012 22:06:38 -0400 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.3-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Pg-Spam-Score: -2.4 (--) X-Archive-Number: 201209/205 X-Sequence-Number: 34199 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.