Re: table AM option passing
Álvaro Herrera <alvherre@kurilemu.de>
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Antonin Houska <ah@cybertec.at>
Cc: Chao Li <li.evan.chao@gmail.com>, Andres Freund <andres@anarazel.de>, Pg Hackers <pgsql-hackers@lists.postgresql.org>,
Zsolt Parragi <zsolt.parragi@percona.com>, Nathan Bossart <nathandbossart@gmail.com>
Date: 2026-04-01T18:41:01Z
Lists: pgsql-hackers
Attachments
- v6-0001-Move-heapam.h-specific-flag-bit.patch (text/x-diff)
On 2026-Apr-01, Antonin Houska wrote: > I've reviewed this patch set too. The only question that occurs to me is > whether INSERT_SKIP_FSM and INSERT_FROZEN shouldn't actually be prefixed with > HEAP_, as these are rather low-level and thus might be considered > AM-specific. Thanks! I pushed 0001 and 0002 from this patchset, with minimal cosmetic corrections. I realized that patch 0003 is doing two different things, and they should each be their own patch which can be rejected if we don't like them; so I split it in two. One moves the heapam.h-private bit to the 32th bit. The other removes the duplicity of definitions, so that heapam.h doesn't have to feel it needs to redefine the tableam.h interface. At this point these patches could be considered WIP in the sense that I wouldn't commit exactly as is (minor corrections might be appropriate, for example to the nearby comments), but I would like to know opinions in case we decide to just throw them away. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Las navajas y los monos deben estar siempre distantes" (Germán Poo)
Commits
-
Give an 'options' parameter to tuple_delete/_update
- db89a47115f0 19 (unreleased) landed
-
Fix vicinity of tuple_insert to use uint32, not int, for options
- ec2f81766ad7 19 (unreleased) landed
-
Have table_insert and siblings use an unsigned type for options
- 1bd6f22f43ac 19 (unreleased) landed
-
Remove the following unused type definitions: bool8, bool16, bool32, word8,
- ca7a1f0c8684 8.0.0 cited