Re: table AM option passing - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: table AM option passing
Date
Msg-id 202603171944.2qugoabbkfqr@alvherre.pgsql
Whole thread Raw
In response to Re: table AM option passing  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: table AM option passing
Re: table AM option passing
List pgsql-hackers
Hi Nathan, thanks for looking,

On 2026-Mar-17, Nathan Bossart wrote:

> On Tue, Mar 17, 2026 at 05:50:41PM +0100, Álvaro Herrera wrote:

> > (This change is vaguely similar to b7271aa1d71a, except I used 'int'
> > instead of 'bits32', to keep the interface consistent with the existing
> > heap_insert() one.  Maybe I should make all three take bits64 instead?
> > We don't actually have that type at present, so I'd have to add that
> > too.)
> 
> Why bits64 and not bits32?  I must be missing something.

augh, that's just a thinko -- yeah, we could use bits32 here and that
wouldn't represent a reduction in number of possible flags.

Does anybody oppose changing table_tuple_insert() to use bits32 instead
of integer for the 'options' argument?

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"I dream about dreams about dreams", sang the nightingale
under the pale moon (Sandman)



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: EXPLAIN: showing ReadStream / prefetch stats
Next
From: Andrew Dunstan
Date:
Subject: Re: Emitting JSON to file using COPY TO