Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4901820

Browse files
committed
detach_range_partition(): lock parent in access exclusive mode (needed for refresh_pathman_relation_info())
1 parent4bbab4c commit4901820

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)

[8]ページ先頭

©2009-2025 Movatter.jp