We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c9d435 commit d1032b0Copy full SHA for d1032b0
src/pl_range_funcs.c
@@ -489,6 +489,9 @@ split_range_partition(PG_FUNCTION_ARGS)
489
char *query;
490
int i;
491
492
+ if (!IsPathmanReady())
493
+ elog(ERROR, "pg_pathman is disabled");
494
+
495
if (!PG_ARGISNULL(0))
496
{
497
partition1 = PG_GETARG_OID(0);
@@ -652,6 +655,9 @@ merge_range_partitions(PG_FUNCTION_ARGS)
652
655
FmgrInfo finfo;
653
656
654
657
658
659
660
661
/* Validate array type */
662
Assert(ARR_ELEMTYPE(arr) == REGCLASSOID);
663
0 commit comments