| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | Antonin Houska <ah(at)cybertec(dot)at> |
| Cc: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com> |
| Subject: | Re: table AM option passing |
| Date: | 2026-04-01 18:41:01 |
| Message-ID: | 202604011827.p4mx4bh2ti46@alvherre.pgsql |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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)
| Attachment | Content-Type | Size |
|---|---|---|
| v6-0001-Move-heapam.h-specific-flag-bit.patch | text/x-diff | 1.0 KB |
| v6-0002-Define-heap_insert-to-obey-tableam.h-option-bits-.patch | text/x-diff | 8.4 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sami Imseih | 2026-04-01 18:45:59 | Re: Add pg_stat_autovacuum_priority |
| Previous Message | Tom Lane | 2026-04-01 18:25:40 | Re: pg_waldump: support decoding of WAL inside tarfile |