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 1qoRoi-001JBE-Hw for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Oct 2023 17:07:16 +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 1qoRog-00FqgG-8N for pgsql-bugs@arkaria.postgresql.org; Thu, 05 Oct 2023 17:07:15 +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.94.2) (envelope-from ) id 1qoRof-00Fqg8-N1 for pgsql-bugs@lists.postgresql.org; Thu, 05 Oct 2023 17:07:14 +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.94.2) (envelope-from ) id 1qoRoa-000BB7-J0 for pgsql-bugs@lists.postgresql.org; Thu, 05 Oct 2023 17:07:13 +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 395H76IQ2796465; Thu, 5 Oct 2023 13:07:06 -0400 From: Tom Lane To: "David G. Johnston" cc: buschmann@nidsa.net, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx In-reply-to: References: <18147-6fc796538913ee88@postgresql.org> Comments: In-reply-to "David G. Johnston" message dated "Thu, 05 Oct 2023 08:12:47 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2796463.1696525626.1@sss.pgh.pa.us> Date: Thu, 05 Oct 2023 13:07:06 -0400 Message-ID: <2796464.1696525626@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > The simplified query is preferred so long as it produces the error - but > you really should be providing the create table commands to make the entire > script self-contained. Yeah, it's impossible to reproduce or investigate this without table definitions ... and I for one don't feel like guessing at the table details. regards, tom lane