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 1qv5Hr-0035Mt-83 for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Oct 2023 00:28:47 +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 1qv5Hn-000NND-Gg for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Oct 2023 00:28:44 +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 1qv5Hn-000NN4-8D for pgsql-bugs@lists.postgresql.org; Tue, 24 Oct 2023 00:28:43 +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 1qv5Hg-002N5G-K4 for pgsql-bugs@lists.postgresql.org; Tue, 24 Oct 2023 00:28:43 +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 39O0SXEF458057; Mon, 23 Oct 2023 20:28:33 -0400 From: Tom Lane To: Peter Geoghegan cc: Hans Buschmann , Amit Langote , "David G. Johnston" , "pgsql-bugs@lists.postgresql.org" Subject: Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx In-reply-to: References: <18147-6fc796538913ee88@postgresql.org> <2796464.1696525626@sss.pgh.pa.us> <9fdfed847859435e8641e613198be9e3@nidsa.net> <3319880.1696778678@sss.pgh.pa.us> <3c9fe737f6aa4ae9b0dc19bffd97e106@nidsa.net> <408285.1698085850@sss.pgh.pa.us> <411084.1698087308@sss.pgh.pa.us> Comments: In-reply-to Peter Geoghegan message dated "Mon, 23 Oct 2023 15:15:03 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <458055.1698107313.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Mon, 23 Oct 2023 20:28:33 -0400 Message-ID: <458056.1698107313@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Geoghegan writes: > On Mon, Oct 23, 2023 at 12:01 PM Peter Geoghegan wrote: >> I understand. I'll come up with a doc patch for that later on today. > What do you think of the attached? WFM. > Separately, I wonder if index_unchanged_by_update should actually just > always give the hint with a non-HOT update, regardless of the > specifics for each index/its columns -- just like on the v14 branch. I'm confused. Wouldn't that be the exact opposite of "unchanged"? Maybe the real problem here is that the meaning of the hint is not what you'd expect from its name? regards, tom lane