Skip to content

Commit fb20573

Browse files
committed
Add allow_segment_DML to utility test function
1 parent 174691b commit fb20573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/regress/sql/matview.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ DROP ROLE regress_user_mvtest;
241241
CREATE OR REPLACE FUNCTION mvtest_drop_the_index()
242242
RETURNS bool AS $$
243243
BEGIN
244-
EXECUTE 'DROP INDEX IF EXISTS mvtest_drop_idx';
244+
EXECUTE 'SET allow_segment_DML = ON;DROP INDEX IF EXISTS mvtest_drop_idx';
245245
RETURN true;
246246
END;
247247
$$ LANGUAGE plpgsql;

0 commit comments

Comments
 (0)