Обсуждение: Why doesn't query_tree_walker examine the intoClause field?

Поиск
Список
Период
Сортировка

Why doesn't query_tree_walker examine the intoClause field?

От
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://www.enterprisedb.com


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

От
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 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


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

От
Tom Lane
Дата:
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