Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTA9J-0005yo-U3 for pgsql-hackers@arkaria.postgresql.org; Tue, 21 May 2019 19:10:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hTA9I-0005CU-I3 for pgsql-hackers@arkaria.postgresql.org; Tue, 21 May 2019 19:10:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTA9I-0005CN-9L for pgsql-hackers@lists.postgresql.org; Tue, 21 May 2019 19:10:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hTA9F-0007PI-UB for pgsql-hackers@postgresql.org; Tue, 21 May 2019 19:10:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x4LJ9xtM013158; Tue, 21 May 2019 15:09:59 -0400 From: Tom Lane To: Andrew Dunstan cc: Andres Freund , PostgreSQL-development Subject: Re: Teach pg_upgrade test to honor NO_TEMP_INSTALL In-reply-to: References: <5506b8fa-7dad-8483-053c-7ca7ef04f01a@2ndQuadrant.com> <20190521015840.cztw2qxthh7xuutk@alap3.anarazel.de> Comments: In-reply-to Andrew Dunstan message dated "Tue, 21 May 2019 14:48:27 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13156.1558465799.1@sss.pgh.pa.us> Date: Tue, 21 May 2019 15:09:59 -0400 Message-ID: <13157.1558465799@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > On 5/20/19 9:58 PM, Andres Freund wrote: >> I'm confused as to why this was done as a purely optional path, rather >> than just ripping out the pg_upgrade specific install? > By specifying NO_TEMP_INSTALL you are in effect certifying that there is > already a suitable temp install available. But that might well not be > the case. In fact, there have been several iterations of code to get the > buildfarm client to check reasonable reliably that there is such an > install before it chooses to use the flag. Right. Issuing "make check" in src/bin/pg_upgrade certainly shouldn't skip making a new install. But if we're recursing down from a top-level check-world, we ought to be able to use the install it made. regards, tom lane