mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-24 23:34:25 +08:00
Remove duplicate allocation during planning
Removes duplicate call to setup_append_rel_array and avoids allocating another append_rel_array with the same values during planning queries with hypertables.
This commit is contained in:
parent
08ad7b6612
commit
e6b215b8c0
@ -507,9 +507,6 @@ timescaledb_get_relation_info_hook(PlannerInfo *root, Oid relation_objectid, boo
|
||||
rel->fdw_private = palloc0(sizeof(TimescaleDBPrivate));
|
||||
|
||||
ts_plan_expand_hypertable_chunks(ht, root, relation_objectid, inhparent, rel);
|
||||
#if PG11_GE
|
||||
setup_append_rel_array(root);
|
||||
#endif
|
||||
|
||||
ts_cache_release(hcache);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user