Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewIzA-0006jK-7M for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Mar 2018 02:51:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ewIz9-0007rG-5f for pgsql-hackers@arkaria.postgresql.org; Thu, 15 Mar 2018 02:51:19 +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_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewIz8-0007r7-UY for pgsql-hackers@lists.postgresql.org; Thu, 15 Mar 2018 02:51:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ewIz6-0006ZW-6H for pgsql-hackers@lists.postgresql.org; Thu, 15 Mar 2018 02:51:18 +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 w2F2pE50017543; Wed, 14 Mar 2018 22:51:14 -0400 From: Tom Lane To: Thomas Munro cc: PostgreSQL Hackers Subject: Re: Instability in parallel regression tests In-reply-to: References: <4627.1521070268@sss.pgh.pa.us> <16738.1521081130@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Thu, 15 Mar 2018 15:42:02 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17541.1521082274.1@sss.pgh.pa.us> Date: Wed, 14 Mar 2018 22:51:14 -0400 Message-ID: <17542.1521082274@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > On Thu, Mar 15, 2018 at 3:32 PM, Tom Lane 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