On Tue, Jul 23, 2013 at 3:40 PM, tubadzin <tubadzin@o2.pl> wrote:
> I want add Zigzag Merge join to Index Nested Loops Join alghoritm.
> http://www.cs.berkeley.edu/~fox/summaries/database/query_eval_5-8.html
> Which files are responsible for Index nested loops join ? (not simple nested
> loops join which has double foreach in nodeNestloop.c) nodeIndexscan.c?
> nodeIndexonlyscan.c?
> Best Regards
nodeNestloop.c handles all execution of all nested loops, regardless
of whether there's an index scan involved. Of course, if there is an
index scan involved, then nodeIndexscan.c will also be involved; if
there is an index-only scan, then nodeIndexonlyscan.c, and so on.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company