Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1reNYP-00B4LV-T4 for pgsql-bugs@arkaria.postgresql.org; Sun, 25 Feb 2024 23:05:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1reNYN-009Imy-Lf for pgsql-bugs@arkaria.postgresql.org; Sun, 25 Feb 2024 23:05:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1reNYN-009Ikp-Dg for pgsql-bugs@lists.postgresql.org; Sun, 25 Feb 2024 23:05:03 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1reNYK-000ypQ-Sq for pgsql-bugs@lists.postgresql.org; Sun, 25 Feb 2024 23:05:02 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 41PN4wTZ1660001; Sun, 25 Feb 2024 18:04:58 -0500 From: Tom Lane To: Michael Paquier cc: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18363: Assert !ReindexIsProcessingIndex falsified with expression index over select from table In-reply-to: References: <18363-e3598a5a572d0699@postgresql.org> <1541688.1708893428@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Mon, 26 Feb 2024 07:57:34 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1659999.1708902298.1@sss.pgh.pa.us> Date: Sun, 25 Feb 2024 18:04:58 -0500 Message-ID: <1660000.1708902298@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > An index expression that calls a function doing a scan of its parent > table is a funky case for sure, but perhaps f5a465f1a074 would have > been better with a test? I wasn't excited about having a test case, but feel free to add one if you think it's worth the cycles. regards, tom lane