Skip to content

Commit 5707123

Browse files
author
Maksim Milyutin
committed
Merge branch 'master_detach_hotfix' into test_concurrent_detach
2 parents 64cfd25 + 0e85fe8 commit 5707123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

range.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,7 @@ BEGIN
10871087
parent_relid := @extschema@.get_parent_of_partition(partition);
10881088

10891089
/* Acquire lock on parent */
1090-
PERFORM @extschema@.lock_partitioned_relation(parent_relid);
1090+
PERFORM @extschema@.prevent_relation_modification(parent_relid);
10911091

10921092
v_attname := attname
10931093
FROM @extschema@.pathman_config

0 commit comments

Comments
 (0)