Skip to content

Commit db3e0bc

Browse files
committed
pathman: disable pathman func fix
1 parent 1180c1d commit db3e0bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/pg_pathman/init.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ CREATE OR REPLACE FUNCTION @extschema@.disable_partitioning(IN relation TEXT)
8282
RETURNS VOID AS
8383
$$
8484
BEGIN
85+
relation := @extschema@.validate_relname(relation);
86+
8587
DELETE FROM @extschema@.pathman_config WHERE relname = relation;
8688
EXECUTE format('DROP FUNCTION IF EXISTS %s_insert_trigger_func() CASCADE', relation);
8789

0 commit comments

Comments
 (0)