From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add pg_column_toast_chunk_id().
Date: Thu, 14 Mar 2024 16:05:44 +0000
Message-ID: <E1rknaS-003mQy-45@gemulon.postgresql.org> (raw)
Add pg_column_toast_chunk_id().
This function returns the chunk_id of an on-disk TOASTed value. If
the value is un-TOASTed or not on-disk, it returns NULL. This is
useful for identifying which values are actually TOASTed and for
investigating "unexpected chunk number" errors.
Bumps catversion.
Author: Yugo Nagata
Reviewed-by: Jian He
Discussion: https://postgr.es/m/20230329105507.d764497456eeac1ca491b5bd%40sraoss.co.jp
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d1162cfda885c5a8cb9cebfc8eed9f1d76855e83
Modified Files
--------------
doc/src/sgml/func.sgml | 17 ++++++++++++
src/backend/utils/adt/varlena.c | 41 ++++++++++++++++++++++++++++
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 3 ++
src/test/regress/expected/misc_functions.out | 16 +++++++++++
src/test/regress/sql/misc_functions.sql | 12 ++++++++
6 files changed, 90 insertions(+), 1 deletion(-)
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: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Add pg_column_toast_chunk_id().
In-Reply-To: <E1rknaS-003mQy-45@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