aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-06-22 13:51:39 -0400
committerRobert Haas <rhaas@postgresql.org>2017-06-22 13:52:50 -0400
commit6af9f1bd4bcbb0de15e826205b8e60632147dbe2 (patch)
tree345fcd74c56a2402afa40165e9947e623e06a8a8
parenta4f06606a328664d79f34b6041e816908d93e063 (diff)
downloadpostgresql-6af9f1bd4bcbb0de15e826205b8e60632147dbe2.tar.gz
postgresql-6af9f1bd4bcbb0de15e826205b8e60632147dbe2.zip
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
-rw-r--r--src/backend/optimizer/util/pathnode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c
index 77c124e27f4..f2d6385f183 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)