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 1hMKyE-0003Xc-Ts for pgsql-hackers@arkaria.postgresql.org; Thu, 02 May 2019 23:18:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hMKyD-000733-BD for pgsql-hackers@arkaria.postgresql.org; Thu, 02 May 2019 23:18:29 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMKyD-000707-2A for pgsql-hackers@lists.postgresql.org; Thu, 02 May 2019 23:18:29 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMKyA-0001yp-O9 for pgsql-hackers@lists.postgresql.org; Thu, 02 May 2019 23:18:28 +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 x42NIJOf017928; Thu, 2 May 2019 19:18:19 -0400 From: Tom Lane To: Andres Freund cc: Michael Paquier , Postgres hackers Subject: Re: REINDEX INDEX results in a crash for an index of pg_class since 9.6 In-reply-to: <20190502210253.lt4p46dvllxarajg@alap3.anarazel.de> References: <27459.1556762513@sss.pgh.pa.us> <20190502021913.axyvyyyw5547swy5@alap3.anarazel.de> <25661.1556808540@sss.pgh.pa.us> <20190502153107.o5zadep4ehebzoqy@alap3.anarazel.de> <4870.1556811688@sss.pgh.pa.us> <20190502155612.ep5wqyninmkrz6uh@alap3.anarazel.de> <5531.1556812964@sss.pgh.pa.us> <2157.1556816395@sss.pgh.pa.us> <20190502172851.klckhiyukqd3bd2t@alap3.anarazel.de> <10650.1556830451@sss.pgh.pa.us> <20190502210253.lt4p46dvllxarajg@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 02 May 2019 14:02:53 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17926.1556839099.1@sss.pgh.pa.us> Date: Thu, 02 May 2019 19:18:19 -0400 Message-ID: <17927.1556839099@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-05-02 16:54:11 -0400, Tom Lane wrote: >> I just finished a successful run of the core regression tests with CCA. >> Given the calendar, I think that's about as much CCA testing as I should >> do personally. I'll make a cleanup pass on this patch and try to get it >> pushed within a few hours, if there are not objections. > Sounds good to me. Pushed --- hopefully, we have enough time before Sunday that we can get reasonably complete buildfarm testing. I did manually verify that all branches get through "reindex table pg_class" and "reindex index pg_class_oid_index" under CLOBBER_CACHE_ALWAYS, as well as a normal-mode check-world. But CCA world runs seem like a good idea. As far as a permanent test scheme goes, I noticed while testing that src/bin/scripts/t/090_reindexdb.pl and src/bin/scripts/t/091_reindexdb_all.pl seem to be giving us a good deal of coverage on this already, although of course they never caught the problem with non-HOT updates, nor any of the deadlock issues. Still, it seems like maybe a core regression test that's been lobotomized enough to be perfectly parallel-safe might not give us more coverage than can be had there. regards, tom lane