1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

MERGE minor errata

This commit is contained in:
Simon Riggs
2018-04-05 13:19:13 +01:00
parent 3af7b2b0d4
commit 01b88b4df5
3 changed files with 4 additions and 6 deletions

View File

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