pgsql: Fix vicinity of tuple_insert to use uint32, not int, for options

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix vicinity of tuple_insert to use uint32, not int, for options
Date: 2026-04-01 16:17:55
Message-ID: E1w7yGQ-002TyZ-1z@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix vicinity of tuple_insert to use uint32, not int, for options

Oversight in commit 1bd6f22f43ac: I was way too optimistic about the
compiler letting me know what variables needed to be updated, and missed
a few of them. Clean it up.

Author: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Reported-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://postgr.es/m/40E570EE-5A60-49D8-B8F7-2F8F2B7C8DFA@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ec2f81766ad72d3ff4c45400f30d2670589aec11

Modified Files
--------------
src/backend/access/common/toast_internals.c | 2 +-
src/backend/access/heap/heaptoast.c | 2 +-
src/backend/access/heap/hio.c | 2 +-
src/backend/access/heap/rewriteheap.c | 2 +-
src/backend/access/table/toast_helper.c | 2 +-
src/backend/commands/copyfrom.c | 8 ++++----
src/backend/commands/createas.c | 2 +-
src/backend/commands/matview.c | 2 +-
src/backend/commands/tablecmds.c | 8 ++++----
src/include/access/heaptoast.h | 2 +-
src/include/access/hio.h | 2 +-
src/include/access/toast_helper.h | 2 +-
src/include/access/toast_internals.h | 2 +-
13 files changed, 19 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2026-04-01 17:06:18 pgsql: Add UPDATE/DELETE FOR PORTION OF
Previous Message Dean Rasheed 2026-04-01 16:06:56 pgsql: Add support for extended statistics on virtual generated columns