git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b258e3)
Mark test_enc_conversion() as STRICT.
Tue, 6 Apr 2021 11:53:56 +0000 (14:53 +0300)
Tue, 6 Apr 2021 11:53:56 +0000 (14:53 +0300)
Reported-by: Jaime Casanova, using SQLsmith
Discussion: https://www.postgresql.org/message-id/20210402235337.GA4082@ahch-to


diff --git a/src/test/regress/input/create_function_1.source b/src/test/regress/input/create_function_1.source
index 6ba37fe63b617d7cc2dc26ac2f54682d57b4bc60..6c69b7fe6cbbf13a5bff1c121c74a98b4fac8d36 100644 (file)
--- 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 cb38a039bf4636643dbe7fc8a2e38183a8349a41..c66146db9d53ea6b4db467505987fe1d883dcf31 100644 (file)
--- 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'';';
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /