aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-09-14 12:28:50 -0400
committerRobert Haas <rhaas@postgresql.org>2017-09-14 12:28:50 -0400
commit77b6b5e9ceca04dbd6f0f6cd3fc881519acc8714 (patch)
treea7e895f41132540ee6539dacd3bc981ddbf3cd9d /src/backend/tcop/postgres.c
parent8951c65df2701a4620ea43f12b9fbabdb653c164 (diff)
downloadpostgresql-77b6b5e9ceca04dbd6f0f6cd3fc881519acc8714.tar.gz
postgresql-77b6b5e9ceca04dbd6f0f6cd3fc881519acc8714.zip
Make RelationGetPartitionDispatchInfo expand depth-first.
With this change, the order of leaf partitions as returned by RelationGetPartitionDispatchInfo should now be the same as the order used by expand_inherited_rtentry. This will make it simpler for future patches to match up the partition dispatch information with the planner data structures. The new code is also, in my opinion anyway, simpler and easier to understand. Amit Langote, reviewed by Amit Khandekar. I also reviewed and made a few cosmetic revisions. Discussion: http://postgr.es/m/d98d4761-5071-1762-501e-0e15047c714b@lab.ntt.co.jp
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions