Skip site navigation (1) Skip section navigation (2)

planner & target lists

From: "Hicham G(dot) Elmongui" <elmongui(at)cs(dot)purdue(dot)edu>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: planner & target lists
Date: 2004-09-24 13:22:29
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
I am confused about an internal point of the planner.

Consider a select query and the output target list at the root of the tree.
This target lists points to some Vars. Each of which has as relation either
Does this INNER/OUTER refer to the inner/outer relations of the top-most
node in the tree or to the bottom-most one.

In other words, in the following tree, a variable in B that shows in Op1's
target list, does it have its relation as INNER (which is B) or OUTER (which
is Op2)

         / \
        /   \
       /     \
     Op2     Op3
     / \     / \
    /   \   /   \
   A     B C     D



pgsql-hackers by date

Next:From: Tom LaneDate: 2004-09-24 14:03:33
Subject: Re: SQL-Invoked Procedures for 8.1
Previous:From: Greg StarkDate: 2004-09-24 13:06:50
Subject: Re: SQL-Invoked Procedures for 8.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group