Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aGenJ-0002Nw-0N for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Jan 2016 03:29:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aGenH-0007cY-J1 for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Jan 2016 03:29:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aGeme-0006uz-RW for pgsql-bugs@postgresql.org; Wed, 06 Jan 2016 03:29:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aGemY-0008Iy-5i for pgsql-bugs@postgresql.org; Wed, 06 Jan 2016 03:29:11 +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 u063T43H005513; Tue, 5 Jan 2016 22:29:04 -0500 From: Tom Lane To: Michael Paquier cc: PostgreSQL mailing lists , Andrew Dunstan Subject: Re: Failure with regression test largeobject if pg_regress invoked from external paths In-reply-to: References: <3814.1452047730@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Wed, 06 Jan 2016 12:14:29 +0900" Date: Tue, 05 Jan 2016 22:29:04 -0500 Message-ID: <5512.1452050944@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier writes: > On Wed, Jan 6, 2016 at 11:35 AM, Tom Lane wrote: >> Um ... what exactly is the triggering condition here? > Perhaps my previous email was not clear enough. Attached is a small > script that emulates what my colleague infrastructure is doing on a > running instance. I see; so the point is you haven't cd'ed into src/test/regress. I'm not sure if that's a case we ought to support or not. In particular, it's pretty unclear what is the benefit of this script compared to "make -C $PG_SRC/src/test/regress check". The script certainly will break anytime we change the set of arguments the Makefile passes to pg_regress, which we have done before and no doubt will do again. Again, I don't see much harm in the patch you propose, it's more a question of should we contract to support this use-case. It's not zero cost to do so; we might for example be able to get rid of some (in/out)put/*.source files if we didn't need to substitute @abs_builddir@ in them. Those things are a PITA to maintain, too, so I'm not very eager to add on more reasons why tests would need them. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs