git.postgresql.org Git - postgresql.git/commit
2006年1月31日 21:39:25 +0000 (21:39 +0000)
2006年1月31日 21:39:25 +0000 (21:39 +0000)
commit 8a1468af4e5c50dde8ce938886f4672459009b9b
Restructure planner's handling of inheritance. Rather than processing
inheritance trees on-the-fly, which pretty well constrained us to considering
only one way of planning inheritance, expand inheritance sets during the
planner prep phase, and build a side data structure that can be consulted
later to find which RTEs are members of which inheritance sets. As proof of
concept, use the data structure to plan joins against inheritance sets more
efficiently: we can now use indexes on the set members in inner-indexscan
joins. (The generated plans could be improved further, but it'll take some
executor changes.) This data structure will also support handling UNION ALL
subqueries in the same way as inheritance sets, but that aspect of it isn't
finished yet.
18 files changed:
This is the main PostgreSQL git repository.
RSS
Atom