From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Have table_insert and siblings use an unsigned type for options
Date: Mon, 30 Mar 2026 12:04:00 +0000
Message-ID: <E1w7BLb-00297x-2w@gemulon.postgresql.org> (raw)
Have table_insert and siblings use an unsigned type for options
Using signed types can lead to bugs, such as the one fixed by commit
2a2e1b470b9b.
Discussion: https://postgr.es/m/44e6ze3kuunhky63wmfjxrmn72pds2whwf5ok6hpz7c4my7k2h@l65zhpcuasnf
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1bd6f22f43ac1bd2215ba4ef720fc4f18fea26e5
Modified Files
--------------
src/backend/access/heap/heapam.c | 8 ++++----
src/backend/access/heap/heapam_handler.c | 4 ++--
src/include/access/heapam.h | 4 ++--
src/include/access/tableam.h | 21 ++++++++++++---------
4 files changed, 20 insertions(+), 17 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: alvherre@kurilemu.de, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Have table_insert and siblings use an unsigned type for options
In-Reply-To: <E1w7BLb-00297x-2w@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox