mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
Fix hypo index on real partition for pg11+
This commit is contained in:
parent
a0d7faefc2
commit
bd547d694a
1 changed files with 2 additions and 2 deletions
4
hypopg.c
4
hypopg.c
|
|
@ -556,8 +556,8 @@ hypo_get_relation_info_hook(PlannerInfo *root,
|
|||
hypoIndex *entry = (hypoIndex *) lfirst(lc);
|
||||
|
||||
if (entry->relid == parentId
|
||||
#if PG_VERSION_NUM >= 100000
|
||||
&& rel->reloptkind != RELOPT_OTHER_MEMBER_REL
|
||||
#if PG_VERSION_NUM >= 110000
|
||||
&& !rel->part_scheme
|
||||
#endif
|
||||
)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue