Mark uuid-to-bytea cast as leakproof.
Masahiko Sawada <msawada@postgresql.org>
Author:
Masahiko Sawada <msawada@postgresql.org>
Date: 2026-06-25T21:25:57Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +2 −2 |
| src/test/regress/expected/opr_sanity.out | modified | +1 −0 |
Discussion
- bytea(uuid) missing proleakproof? 5 messages · 2026-06-22 → 2026-06-25