From: Pierre Ducroquet Date: Tue, 19 Feb 2019 17:21:12 +0100 Subject: [PATCH] Mark textin/out and enum_eq/ne as leakproof --- src/include/catalog/pg_proc.dat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/catalog/pg_proc.dat b/src/include/catalog/pg_proc.dat index a4e173b484..d4ac402835 100644 --- a/src/include/catalog/pg_proc.dat +++ b/src/include/catalog/pg_proc.dat @@ -95,10 +95,10 @@ prorettype => 'regprocedure', proargtypes => 'text', prosrc => 'to_regprocedure' }, { oid => '46', descr => 'I/O', - proname => 'textin', prorettype => 'text', proargtypes => 'cstring', + proname => 'textin', proleakproof => 't', prorettype => 'text', proargtypes => 'cstring', prosrc => 'textin' }, { oid => '47', descr => 'I/O', - proname => 'textout', prorettype => 'cstring', proargtypes => 'text', + proname => 'textout', proleakproof => 't', prorettype => 'cstring', proargtypes => 'text', prosrc => 'textout' }, { oid => '48', descr => 'I/O', proname => 'tidin', prorettype => 'tid', proargtypes => 'cstring', @@ -8339,10 +8339,10 @@ proname => 'enum_out', provolatile => 's', prorettype => 'cstring', proargtypes => 'anyenum', prosrc => 'enum_out' }, { oid => '3508', - proname => 'enum_eq', prorettype => 'bool', proargtypes => 'anyenum anyenum', + proname => 'enum_eq', proleakproof => 't', prorettype => 'bool', proargtypes => 'anyenum anyenum', prosrc => 'enum_eq' }, { oid => '3509', - proname => 'enum_ne', prorettype => 'bool', proargtypes => 'anyenum anyenum', + proname => 'enum_ne', proleakproof => 't', prorettype => 'bool', proargtypes => 'anyenum anyenum', prosrc => 'enum_ne' }, { oid => '3510', proname => 'enum_lt', prorettype => 'bool', proargtypes => 'anyenum anyenum', -- 2.20.1 --nextPart1789119.Pb7mB0Qzn0--