We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentd0af22a commitc9f7c99Copy full SHA for c9f7c99
pg_pathman.c
@@ -432,11 +432,11 @@ pathman_set_rel_pathlist_hook(PlannerInfo *root, RelOptInfo *rel, Index rti, Ran
432
intfirst_child_relid=0;
433
434
if (!pg_pathman_enable)
435
-return;
+gotooriginal_hook;
436
437
/* This works only for SELECT queries */
438
if (root->parse->commandType!=CMD_SELECT|| !inheritance_disabled)
439
440
441
/* Lookup partitioning information for parent relation */
442
prel=get_pathman_relation_info(rte->relid,&found);
@@ -562,6 +562,8 @@ pathman_set_rel_pathlist_hook(PlannerInfo *root, RelOptInfo *rel, Index rti, Ran
562
set_append_rel_size(root,rel,rti,rte);
563
}
564
565
+original_hook:
566
+
567
/* Invoke original hook if needed */
568
if (set_rel_pathlist_hook_original!=NULL)
569
{