Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGPgy-00083E-GX for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Apr 2019 15:08:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hGPgx-0008LF-8A for pgsql-hackers@arkaria.postgresql.org; Tue, 16 Apr 2019 15:08:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGPgw-0008F1-Rn for pgsql-hackers@lists.postgresql.org; Tue, 16 Apr 2019 15:08:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGPgu-000719-3n for pgsql-hackers@lists.postgresql.org; Tue, 16 Apr 2019 15:08:09 +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 x3GF86Qp028187; Tue, 16 Apr 2019 11:08:06 -0400 From: Tom Lane To: Michael Paquier cc: pgsql-hackers@lists.postgresql.org Subject: Re: Autovacuum-induced regression test instability In-reply-to: <20190416055312.GG2673@paquier.xyz> References: <17428.1555348950@sss.pgh.pa.us> <20190416055312.GG2673@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Tue, 16 Apr 2019 14:53:12 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28185.1555427286.1@sss.pgh.pa.us> Date: Tue, 16 Apr 2019 11:08:06 -0400 Message-ID: <28186.1555427286@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > Aren't extra ORDER BY clauses the usual response to tuple ordering? I > really think that we should be more aggressive with that. I'm not excited about that. The traditional argument against it is that if we start testing ORDER BY queries exclusively (and it would have to be pretty nearly exclusively, if we were to take this seriously) then we'll lack test coverage for queries without ORDER BY. Also, regardless of whether you think that regression test results can be kicked around at will, we are certainly going to hear complaints from users if traditional behaviors like "inserting N rows into a new table, then selecting them, gives those rows back in the same order" go away. Recall that we had to provide a way to disable the syncscan optimization because some users complained about the loss of row-ordering consistency. regards, tom lane