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 1hEMVN-0000rk-4K for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Apr 2019 23:19:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEMVL-0003Zm-87 for pgsql-hackers@arkaria.postgresql.org; Wed, 10 Apr 2019 23:19:43 +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 1hEMVK-0003TQ-Re for pgsql-hackers@lists.postgresql.org; Wed, 10 Apr 2019 23:19:42 +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 1hEMVI-00089I-F7 for pgsql-hackers@lists.postgresql.org; Wed, 10 Apr 2019 23:19:41 +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 x3ANJcIf032388; Wed, 10 Apr 2019 19:19:38 -0400 From: Tom Lane To: Peter Geoghegan cc: PostgreSQL Hackers Subject: Re: Reducing the runtime of the core regression tests In-reply-to: References: <735.1554935715@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Wed, 10 Apr 2019 16:12:43 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <32386.1554938378.1@sss.pgh.pa.us> Date: Wed, 10 Apr 2019 19:19:38 -0400 Message-ID: <32387.1554938378@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Geoghegan writes: > On Wed, Apr 10, 2019 at 3:35 PM Tom Lane wrote: >> * Likewise, I split up indexing.sql by moving the "fastpath" test into >> a new file index_fastpath.sql. > I just noticed that the "fastpath" test actually fails to test the > fastpath optimization -- the coverage we do have comes from another > test in btree_index.sql, that I wrote back in December. Oh! Hmm. > I'll come up with a patch to deal with this situation, by > consolidating the old and new tests in some way. I don't think that > your work needs to block on that, though. Should I leave out the part of my patch that creates index_fastpath.sql? If we're going to end up removing that version of the test, there's no point in churning the related lines beforehand. One way or the other I want to get that test out of where it is, because indexing.sql is currently the slowest test in its group. But if you prefer to make btree_index run a bit longer rather than inventing a new test script, that's no problem from where I stand. regards, tom lane