Skip to content

Commit cd60d48

Browse files
committed
concurrent partitioning bugfix
1 parent 0b28f06 commit cd60d48

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pathman_workers.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -609,8 +609,7 @@ partition_table_concurrently(PG_FUNCTION_ARGS)
609609
empty_slot_idx = i;
610610
keep_this_lock = true;
611611
}
612-
613-
if (cur_slot->relid == relid &&
612+
else if (cur_slot->relid == relid &&
614613
cur_slot->dbid == MyDatabaseId)
615614
{
616615
if (empty_slot_idx >= 0)

0 commit comments

Comments
 (0)