pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Instability in parallel regression tests
Date: Wed, 14 Mar 2018 22:51:14 -0400
Message-ID: <17542.1521082274@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEepm=11VHs2HhcUWzD47M4vFooUc+4io3a0iYBK2Y+=VfaGdA@mail.gmail.com>
References: <4627.1521070268@sss.pgh.pa.us>
	<CAEepm=1vD0XO9ZzLjcY1CkkKAezLaQga0bBiUvfH59J_EDmrVw@mail.gmail.com>
	<16738.1521081130@sss.pgh.pa.us>
	<CAEepm=11VHs2HhcUWzD47M4vFooUc+4io3a0iYBK2Y+=VfaGdA@mail.gmail.com>

Thomas Munro <thomas.munro@enterprisedb.com> writes:
> On Thu, Mar 15, 2018 at 3:32 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> ... I manually filtered
>> out a bunch of non-problems, in particular discarding names that are in
>> per-test schemas; I think it's all right to allow tests that are taking
>> that precaution to do what they like name-wise.

> What if we always did that?  That is, create a schema with a name
> corresponding to the .sql filename and make it default, as a
> convention?  That might be a smaller and more localised change than
> renaming all these objects.  It would also provide a convenient way to
> drop everything wholesale at the end.

There's a lot of objects that we *want* propagated from earlier tests to
later ones, and/or left around to help with pg_dump testing based on the
final state of the regression database.  I don't think that just dropping
them all would be an improvement.

It might be possible to identify a set of tests that set up persistent
objects as opposed to ones that don't, but it wouldn't be a trivial
task.

			regards, tom lane




view thread (5+ messages)

Message-ID: <17542.1521082274@sss.pgh.pa.us>
Permalink:  ../17542.1521082274@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17542.1521082274@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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: Instability in parallel regression tests
  In-Reply-To: <17542.1521082274@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