pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Cc: Andrew Dunstan <andrew@dunslane.net>
Subject: Re: Failure with regression test largeobject if pg_regress invoked from external paths
Date: Tue, 05 Jan 2016 22:29:04 -0500
Message-ID: <5512.1452050944@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqQoTU4kswFDLaeczfDqfhLgaRGgUmaTAkcwKr87AtYmDw@mail.gmail.com>
References: <CAB7nPqQV56fFkBXxRAz8pybds50K7SdMHRMrdDv8VOYWh_4rtg@mail.gmail.com>
	<3814.1452047730@sss.pgh.pa.us>
	<CAB7nPqQoTU4kswFDLaeczfDqfhLgaRGgUmaTAkcwKr87AtYmDw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Paquier <michael.paquier@gmail.com> writes:
> On Wed, Jan 6, 2016 at 11:35 AM, Tom Lane <tgl@sss.pgh.pa.us> 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



view thread (6+ messages)  latest in thread

Message-ID: <5512.1452050944@sss.pgh.pa.us>
Permalink:  ../5512.1452050944@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5512.1452050944@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, andrew@dunslane.net
  Subject: Re: Failure with regression test largeobject if pg_regress invoked from external paths
  In-Reply-To: <5512.1452050944@sss.pgh.pa.us>
  References: <CAB7nPqQV56fFkBXxRAz8pybds50K7SdMHRMrdDv8VOYWh_4rtg@mail.gmail.com> <3814.1452047730@sss.pgh.pa.us> <CAB7nPqQoTU4kswFDLaeczfDqfhLgaRGgUmaTAkcwKr87AtYmDw@mail.gmail.com> <5512.1452050944@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox