Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d5a0ed

Browse files
committed
PGPRO-12044: Add output variant for PG18 for contrib/rum/sql/security.sql test.
Caused by: - 774171c4f640853b1cf8747a4762631d2f5d25be (PostgreSQL) Improve reporting of errors in extension script files. Tags: rum
1 parent 74e9928 commit 4d5a0ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

expected/security_1.out

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- Check security CVE-2020-14350
2+
CREATE FUNCTION rum_anyarray_similar(anyarray,anyarray) RETURNS bool AS $$ SELECT false $$ LANGUAGE SQL;
3+
CREATE EXTENSION rum;
4+
ERROR: function "rum_anyarray_similar" already exists with same argument types
5+
CONTEXT: SQL statement "CREATE FUNCTION rum_anyarray_similar(anyarray,anyarray)
6+
RETURNS bool
7+
AS '$libdir/rum'
8+
LANGUAGE C STRICT STABLE"
9+
extension script file "rum--1.3.sql", near line 1530
10+
DROP FUNCTION rum_anyarray_similar(anyarray,anyarray);

0 commit comments

Comments
 (0)