agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Switch pg_column_toast_chunk_id() return value from oid to oid8
Date: Mon, 14 Sep 2026 02:02:32 +0000
Message-ID: <E1x5w1g-00000000DSv-2lO6@gemulon.postgresql.org> (raw)

Switch pg_column_toast_chunk_id() return value from oid to oid8

This is required for a follow-up commit that will add support for 8-byte
TOAST values, with this function being changed so as it is able to
support the largest TOAST value type available.

Most of the changes in this commit are in the regression tests that use
pg_column_toast_chunk_id(), that need to use some oid8-ish changes.  The
change is surprisingly not invasive as casts from oid to oid8 are
possible (the opposite cast oid8->oid is not supported).

Bump catalog version.

Author: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Greg Burd <greg@burd.me>
Reviewed-by: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Reviewed-by: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/af19kUjwjhaoUTLn@paquier.xy

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4000ab1decb6138a11fb4423237589376cb9ff54

Modified Files
--------------
doc/src/sgml/func/func-admin.sgml                         | 2 +-
src/backend/utils/adt/varlena.c                           | 2 +-
src/include/catalog/catversion.h                          | 2 +-
src/include/catalog/pg_proc.dat                           | 2 +-
src/test/isolation/expected/cluster-toast-value-reuse.out | 2 +-
src/test/isolation/specs/cluster-toast-value-reuse.spec   | 2 +-
src/test/modules/injection_points/specs/repack_toast.spec | 2 +-
src/test/regress/expected/misc_functions.out              | 2 +-
src/test/regress/sql/misc_functions.sql                   | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)



Message-ID: <E1x5w1g-00000000DSv-2lO6@gemulon.postgresql.org>
Permalink:  ../E1x5w1g-00000000DSv-2lO6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1x5w1g-00000000DSv-2lO6@gemulon.postgresql.org

reply

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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Switch pg_column_toast_chunk_id() return value from oid to oid8
  In-Reply-To: <E1x5w1g-00000000DSv-2lO6@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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox