summaryrefslogtreecommitdiff
path: root/src/backend/executor/execPartition.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2018-04-05 13:19:13 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2018-04-05 13:19:13 +0100
commit01b88b4df5e2df0365cceaf79a039214d9f05273 (patch)
treedcaba1d0df4479dd4275fc31f687c618d08ee277 /src/backend/executor/execPartition.c
parent3af7b2b0d497cfc240ffc8098ef068adb30048a2 (diff)
MERGE minor errata
Diffstat (limited to 'src/backend/executor/execPartition.c')
-rw-r--r--src/backend/executor/execPartition.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/executor/execPartition.c b/src/backend/executor/execPartition.c
index 007f00569ce..ad532773a3a 100644
--- a/src/backend/executor/execPartition.c
+++ b/src/backend/executor/execPartition.c
@@ -314,9 +314,7 @@ ExecFindPartition(ResultRelInfo *resultRelInfo, PartitionDispatch *pd,
* Given OID of the partition leaf, return the index of the leaf in the
* partition hierarchy.
*
- * NB: This is an O(N) operation. Unfortunately, there are many other problem
- * areas with more than a handful partitions, so we don't try to optimise this
- * code right now.
+ * XXX This is an O(N) operation and further optimization would be beneficial
*/
int
ExecFindPartitionByOid(PartitionTupleRouting *proute, Oid partoid)