Re: Instability in parallel regression tests

Thomas Munro <thomas.munro@enterprisedb.com>

From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2018-03-15T02:42:02Z
Lists: pgsql-hackers
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.

-- 
Thomas Munro
http://www.enterprisedb.com


Commits

  1. Clean up duplicate table and function names in regression tests.

  2. Clean up duplicate role and schema names in regression tests.