From: Robert Haas Date: Thu, 22 Jun 2017 17:51:39 +0000 (-0400) Subject: Document partitioned_rels in create_modifytable_path header comment. X-Git-Tag: REL_10_BETA2~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6af9f1bd4bcbb0de15e826205b8e60632147dbe2;p=postgresql Document partitioned_rels in create_modifytable_path header comment. Etsuro Fujita, slightly adjusted by me. Discussion: http://postgr.es/m/e87c4a6d-23d7-5e7c-e8db-44ed418eb5d1@lab.ntt.co.jp --- diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index 77c124e27f..f2d6385f18 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -3158,6 +3158,9 @@ create_lockrows_path(PlannerInfo *root, RelOptInfo *rel, * 'operation' is the operation type * 'canSetTag' is true if we set the command tag/es_processed * 'nominalRelation' is the parent RT index for use of EXPLAIN + * 'partitioned_rels' is an integer list of RT indexes of non-leaf tables in + * the partition tree, if this is an UPDATE/DELETE to a partitioned table. + * Otherwise NIL. * 'resultRelations' is an integer list of actual RT indexes of target rel(s) * 'subpaths' is a list of Path(s) producing source data (one per rel) * 'subroots' is a list of PlannerInfo structs (one per rel)