Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0faf90f

Browse files
committed
fix error code in pathman_workers.c
1 parent c44d6d5 commit 0faf90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pathman_workers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ partition_table_concurrently(PG_FUNCTION_ARGS)
763763

764764
/* Looks like we could not find an empty slot */
765765
if (empty_slot_idx < 0)
766-
ereport(ERROR, (ERRCODE_CONFIGURATION_LIMIT_EXCEEDED,
766+
ereport(ERROR, (errcode(ERRCODE_CONFIGURATION_LIMIT_EXCEEDED),
767767
errmsg("no empty worker slots found"),
768768
errhint("consider increasing max_worker_processes")));
769769
else

0 commit comments

Comments
 (0)