Re: table AM option passing

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: 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-03-31 16:10:51
Message-ID: 202603311555.w42t5agupy3z@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2026-Mar-30, Álvaro Herrera wrote:

> I just pushed the part of 0001 that modifies the API of table_insert and
> its sibling functions. So here 0001 adds the options bitmask to
> table_update and table_delete, which is important for REPACK; and 0002
> is identical as before and makes the interface (IMO) a bit more
> future-proof.

FWIW I just posted 0001 as part of the repack series here [1]; 0002 is
inessential, so I didn't; but here's both of them. I have drafted
commit messages also.

[1] https://postgr.es/m/202603311523.iqhng5ljkzpq@alvherre.pgsql

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Pensar que el espectro que vemos es ilusorio no lo despoja de espanto,
sólo le suma el nuevo terror de la locura" (Perelandra, C.S. Lewis)

Attachment Content-Type Size
v4-0001-Give-options-parameter-to-table_delete-table_upda.patch text/x-diff 10.6 KB
v4-0002-Change-heapam.c-to-obey-tableam.h-option-bits-dir.patch text/x-diff 9.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sami Imseih 2026-03-31 16:15:35 Re: Add pg_stat_autovacuum_priority
Previous Message Andres Freund 2026-03-31 16:02:51 AIO / read stream heuristics adjustments for index prefetching