]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Mark uuid-to-bytea cast as leakproof. master github/master
authorMasahiko Sawada <msawada@postgresql.org>
Thu, 25 Jun 2026 21:25:57 +0000 (14:25 -0700)
committerMasahiko Sawada <msawada@postgresql.org>
Thu, 25 Jun 2026 21:25:57 +0000 (14:25 -0700)
commit6468f7a853c3c75066410cfb54ecdb3050ec7132
tree71cea020ad8734e860c7f9d42bfa4ea3a3da7213
parent7f5e0b22e5eabf7b794b5059efa9454ba3616afe
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
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat
src/test/regress/expected/opr_sanity.out