| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Switch pg_column_toast_chunk_id() return value from oid to oid8 |
| Date: | 2026-09-14 02:02:32 |
| Message-ID: | E1x5w1g-00000000DSv-2lO6@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)paquier(dot)xyz>
Reviewed-by: Greg Burd <greg(at)burd(dot)me>
Reviewed-by: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Reviewed-by: Yugo Nagata <nagata(at)sraoss(dot)co(dot)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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-09-14 02:29:39 | pgsql: Fix Makefile build |
| Previous Message | Michael Paquier | 2026-09-14 01:01:47 | pgsql: Refactor some TOAST value ID code to use Oid8 instead of Oid |