Why doesn't query_tree_walker examine the intoClause field?

Started by Nikhil Sontakkeabout 16 years ago3 messages
#1Nikhil Sontakke
nikhil.sontakke@enterprisedb.com

Hi,

I am kinda puzzled as to why the query_tree_walker() function does not
examine the intoClause field? I do see another function
raw_expression_tree_walker() which does walk that entry. So what is
the exact reason here? Or we just missed it for the earlier function?

Regards,
Nikhils
--
http://www.enterprisedb.com

#2Nikhil Sontakke
nikhil.sontakke@enterprisedb.com
In reply to: Nikhil Sontakke (#1)
Re: Why doesn't query_tree_walker examine the intoClause field?

Self answer: Because the post-analysis phase does not have anything
interesting to peek in it. The only interesting thing could be the
RangeVar, but it is not going to be in an RTE form after the
transformstmt, so not much point.

Sorry for the noise.

Regards,
Nikhils

On Fri, Jan 8, 2010 at 2:22 PM, Nikhil Sontakke
<nikhil.sontakke@enterprisedb.com> wrote:

Hi,

I am kinda puzzled as to why the query_tree_walker() function does not
examine the intoClause field? I do see another function
raw_expression_tree_walker() which does walk that entry. So what is
the exact reason here? Or we just missed it for the earlier function?

Regards,
Nikhils
--
http://www.enterprisedb.com

--
http://www.enterprisedb.com

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Nikhil Sontakke (#1)
Re: Why doesn't query_tree_walker examine the intoClause field?

Nikhil Sontakke <nikhil.sontakke@enterprisedb.com> writes:

I am kinda puzzled as to why the query_tree_walker() function does not
examine the intoClause field?

Is there any point to it?

regards, tom lane