Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Hans Buschmann <buschmann@nidsa.net>,
Amit Langote <amitlangote09@gmail.com>, "David G. Johnston" <david.g.johnston@gmail.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2023-10-24T00:45:39Z
Lists: pgsql-bugs
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Prevent duplicate RTEPermissionInfo for plain-inheritance parents
- 01575ad788e3 17.0 landed
- 178ee1d858d8 16.1 landed
-
Fix problems when a plain-inheritance parent table is excluded.
- b1444a09dcb5 16.1 landed
- 8f4a6b9e4f5b 14.10 landed
- 1268e7378123 15.5 landed
- 387f9ed0a083 17.0 landed
-
Doc: indexUnchanged is strictly a hint.
- 74e5ea1e002f 17.0 landed
- cf89d3052d62 16.1 landed
- be2502947f29 15.5 landed
- df73ca35144a 14.10 landed
On Mon, Oct 23, 2023 at 5:28 PM Tom Lane <tgl@sss.pgh.pa.us> wrote: > > 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"? Well, in practice "indexUnchanged = true" means "do bottom-up deletion if it's the only way to avoid a page split". The justification is that the incoming tuple is "logically unchanged" (actually it's more complicated than that, but that's our starting point). Maybe that naming convention makes things more confusing than necessary. Naming things is hard. > Maybe the real problem here is that the meaning of the hint is not > what you'd expect from its name? Maybe. Perhaps I should have chosen a name that made it clearer that there really is only one way to apply "indexUnchanged = true". Though the docs are pretty clear about this already. I can't say I feel too strongly about the name myself. -- Peter Geoghegan