Commit c4c393b3 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Mark test_enc_conversion() as STRICT.

Reported-by: Jaime Casanova, using SQLsmith
Discussion: https://www.postgresql.org/message-id/20210402235337.GA4082@ahch-to
parent 6b258e3d
...@@ -80,7 +80,7 @@ CREATE FUNCTION test_opclass_options_func(internal) ...@@ -80,7 +80,7 @@ CREATE FUNCTION test_opclass_options_func(internal)
CREATE FUNCTION test_enc_conversion(bytea, name, name, bool, validlen OUT int, result OUT bytea) CREATE FUNCTION test_enc_conversion(bytea, name, name, bool, validlen OUT int, result OUT bytea)
AS '@libdir@/regress@DLSUFFIX@', 'test_enc_conversion' AS '@libdir@/regress@DLSUFFIX@', 'test_enc_conversion'
LANGUAGE C; LANGUAGE C STRICT;
-- Things that shouldn't work: -- Things that shouldn't work:
......
...@@ -70,7 +70,7 @@ CREATE FUNCTION test_opclass_options_func(internal) ...@@ -70,7 +70,7 @@ CREATE FUNCTION test_opclass_options_func(internal)
LANGUAGE C; LANGUAGE C;
CREATE FUNCTION test_enc_conversion(bytea, name, name, bool, validlen OUT int, result OUT bytea) CREATE FUNCTION test_enc_conversion(bytea, name, name, bool, validlen OUT int, result OUT bytea)
AS '@libdir@/regress@DLSUFFIX@', 'test_enc_conversion' AS '@libdir@/regress@DLSUFFIX@', 'test_enc_conversion'
LANGUAGE C; LANGUAGE C STRICT;
-- Things that shouldn't work: -- Things that shouldn't work:
CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL
AS 'SELECT ''not an integer'';'; AS 'SELECT ''not an integer'';';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment