]> granicus.if.org Git - postgresql/commitdiff
Document partitioned_rels in create_modifytable_path header comment.
authorRobert Haas <rhaas@postgresql.org>
Thu, 22 Jun 2017 17:51:39 +0000 (13:51 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 22 Jun 2017 17:52:50 +0000 (13:52 -0400)
Etsuro Fujita, slightly adjusted by me.

Discussion: http://postgr.es/m/e87c4a6d-23d7-5e7c-e8db-44ed418eb5d1@lab.ntt.co.jp

src/backend/optimizer/util/pathnode.c

index 77c124e27f4d9e8d7ea87fb780a8ddd28965ef7f..f2d6385f18353ad4e4bf93e2db1c26ac493b6c25 100644 (file)
@@ -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)