aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2021-04-06 14:53:56 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2021-04-06 14:53:56 +0300
commitc4c393b3ec83ceb4b4d7f37cdd5302126377d069 (patch)
tree88b6c25919977df71f366181b6d191648a4e318b /src
parent6b258e3d688db14aadb58dde2a72939362310684 (diff)
downloadpostgresql-c4c393b3ec83ceb4b4d7f37cdd5302126377d069.tar.gz
postgresql-c4c393b3ec83ceb4b4d7f37cdd5302126377d069.zip
Mark test_enc_conversion() as STRICT.
Reported-by: Jaime Casanova, using SQLsmith Discussion: https://www.postgresql.org/message-id/20210402235337.GA4082@ahch-to
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/input/create_function_1.source2
-rw-r--r--src/test/regress/output/create_function_1.source2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/input/create_function_1.source b/src/test/regress/input/create_function_1.source
index 6ba37fe63b6..6c69b7fe6cb 100644
--- a/src/test/regress/input/create_function_1.source
+++ b/src/test/regress/input/create_function_1.source
@@ -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)
AS '@libdir@/regress@DLSUFFIX@', 'test_enc_conversion'
- LANGUAGE C;
+ LANGUAGE C STRICT;
-- Things that shouldn't work:
diff --git a/src/test/regress/output/create_function_1.source b/src/test/regress/output/create_function_1.source
index cb38a039bf4..c66146db9d5 100644
--- a/src/test/regress/output/create_function_1.source
+++ b/src/test/regress/output/create_function_1.source
@@ -70,7 +70,7 @@ CREATE FUNCTION test_opclass_options_func(internal)
LANGUAGE C;
CREATE FUNCTION test_enc_conversion(bytea, name, name, bool, validlen OUT int, result OUT bytea)
AS '@libdir@/regress@DLSUFFIX@', 'test_enc_conversion'
- LANGUAGE C;
+ LANGUAGE C STRICT;
-- Things that shouldn't work:
CREATE FUNCTION test1 (int) RETURNS int LANGUAGE SQL
AS 'SELECT ''not an integer'';';