1
0
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:
Tom Lane
2018-06-11 17:14:46 -04:00
parent e5d11b91e4
commit 4e23236403
5 changed files with 71 additions and 45 deletions

View File

@ -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)
{