Skip to content

Commit 4901820

Browse files
committed
detach_range_partition(): lock parent in access exclusive mode (needed for refresh_pathman_relation_info())
1 parent 4bbab4c commit 4901820

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy