Skip to content

Commit c4c393b

Browse files
committed
Mark test_enc_conversion() as STRICT.
Reported-by: Jaime Casanova, using SQLsmith Discussion: https://www.postgresql.org/message-id/20210402235337.GA4082@ahch-to
1 parent 6b258e3 commit c4c393b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/input/create_function_1.source

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ CREATE FUNCTION test_opclass_options_func(internal)
8080

8181
CREATE FUNCTION test_enc_conversion(bytea, name, name, bool, validlen OUT int, result OUT bytea)
8282
AS '@libdir@/regress@DLSUFFIX@', 'test_enc_conversion'
83-
LANGUAGE C;
83+
LANGUAGE C STRICT;
8484

8585
-- Things that shouldn't work:
8686

src/test/regress/output/create_function_1.source

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ CREATE FUNCTION test_opclass_options_func(internal)
7070
LANGUAGE C;
7171
CREATE FUNCTION test_enc_conversion(bytea, name, name, bool, validlen OUT int, result OUT bytea)
7272
AS '@libdir@/regress@DLSUFFIX@', 'test_enc_conversion'
73-
LANGUAGE C;
73+
LANGUAGE C STRICT;
7474
-- Things that shouldn't work:
7575
CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL
7676
AS 'SELECT ''not an integer'';';

0 commit comments

Comments
 (0)