pgsql: Mark uuid-to-bytea cast as leakproof.
pgsql: Mark uuid-to-bytea cast as leakproof.
От:
Masahiko Sawada <msawada@postgresql.org>
Дата:
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 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(-)