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 e2d29d2 commit a53a607Copy full SHA for a53a607
src/relation_info.c
@@ -761,11 +761,14 @@ fill_prel_with_partitions(PartRelationInfo *prel,
761
* bound cache still keeps entries with high indexes.
762
*/
763
if (pbin->part_idx >= PrelChildrenCount(prel))
764
+ {
765
+ DisablePathman(); /* disable pg_pathman since config is broken */
766
ereport(ERROR, (errmsg("pg_pathman's cache for relation \"%s\" "
767
"has not been properly initialized. "
768
"Looks like one of hash partitions was dropped.",
769
get_rel_name_or_relid(PrelParentRelid(prel))),
770
errhint(INIT_ERROR_HINT)));
771
+ }
772
773
prel->children[pbin->part_idx] = pbin->child_relid;
774
break;
0 commit comments