mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Improve commentary about run-time partition pruning data structures.
No code changes except for a couple of new Asserts. David Rowley and Tom Lane Discussion: https://postgr.es/m/CAKJS1f-6GODRNgEtdPxCnAPme2h2hTztB6LmtfdmcYAAOE0kQg@mail.gmail.com
This commit is contained in:
@ -1451,7 +1451,8 @@ add_paths_to_append_rel(PlannerInfo *root, RelOptInfo *rel,
|
||||
|
||||
/*
|
||||
* If we need to build partitioned_rels, accumulate the partitioned
|
||||
* rels for this child.
|
||||
* rels for this child. We must ensure that parents are always listed
|
||||
* before their child partitioned tables.
|
||||
*/
|
||||
if (build_partitioned_rels)
|
||||
{
|
||||
|
Reference in New Issue
Block a user