Re: [HACKERS] Why doesn't query_tree_walker examine the intoClause field?

2010-01-08 Thread Tom Lane
Nikhil Sontakke 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your sub

Re: [HACKERS] Why doesn't query_tree_walker examine the intoClause field?

2010-01-08 Thread Nikhil Sontakke
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

[HACKERS] Why doesn't query_tree_walker examine the intoClause field?

2010-01-08 Thread Nikhil Sontakke
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://