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.96) (envelope-from ) id 1wkOZa-000eLt-1R for pgsql-bugs@arkaria.postgresql.org; Thu, 16 Jul 2026 16:04:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wkOZY-00EOhp-2g for pgsql-bugs@arkaria.postgresql.org; Thu, 16 Jul 2026 16:04:28 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wkOZY-00EOhh-1s for pgsql-bugs@lists.postgresql.org; Thu, 16 Jul 2026 16:04:28 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wkOZW-00000000XIu-0sbo for pgsql-bugs@lists.postgresql.org; Thu, 16 Jul 2026 16:04:27 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 66GG4OLM3789752; Thu, 16 Jul 2026 12:04:24 -0400 From: Tom Lane To: Maaz Syed Adeeb cc: pgsql-bugs@lists.postgresql.org, matthew.ripley28@gmail.com Subject: Re: CREATE INDEX with an expression in an INCLUDE column fails with XX000 "unrecognized node type" instead of 0A000 on master In-reply-to: References: <3574719.1784140144@sss.pgh.pa.us> <3577449.1784142765@sss.pgh.pa.us> Comments: In-reply-to Maaz Syed Adeeb message dated "Wed, 15 Jul 2026 22:20:36 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3789750.1784217864.1@sss.pgh.pa.us> Date: Thu, 16 Jul 2026 12:04:24 -0400 Message-ID: <3789751.1784217864@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Maaz Syed Adeeb writes: > Attaching a patch with two regress tests. Let me know if I need to > change anything. Thanks. index_including.sql embodies all sorts of anti-patterns for testing: use of very generic object names that could conflict with concurrent test scripts, constant dropping and re-creation of objects ensuring that the overhead per useful test is as high as possible, etc. But it's not the job of this patch to improve that, so I guess the fact that you faithfully copied the existing style is fine. I used your test as-is and pushed it. Thanks again for the report! regards, tom lane