agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Mark uuid-to-bytea cast as leakproof.
Date: Thu, 25 Jun 2026 21:26:10 +0000
Message-ID: <E1wcraM-000CjS-2v@gemulon.postgresql.org> (raw)
Mark uuid-to-bytea cast as leakproof.
The uuid-to-bytea cast just serializes a valid uuid datum into its
fixed 16-byte representation. It does not have an input-dependent
error path so mark its pg_proc entry as leakproof.
Oversight in commit ba21f5bf8a.
Bump catalog version.
Author: Chao Li <lic@highgo.com>
Discussion: https://postgr.es/m/1FAAF426-9205-4F53-8D3B-F2003D96EC37@gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6468f7a853c3c75066410cfb54ecdb3050ec7132
Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 4 ++--
src/test/regress/expected/opr_sanity.out | 1 +
3 files changed, 4 insertions(+), 3 deletions(-)
Message-ID: <E1wcraM-000CjS-2v@gemulon.postgresql.org>
Permalink: ../E1wcraM-000CjS-2v@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wcraM-000CjS-2v@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: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Mark uuid-to-bytea cast as leakproof.
In-Reply-To: <E1wcraM-000CjS-2v@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