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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy