Re: Lack of T_TargetEntry in exprType function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Lack of T_TargetEntry in exprType function
Дата
Msg-id 10242.1521554411@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Lack of T_TargetEntry in exprType function  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Ответы Re: Lack of T_TargetEntry in exprType function  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Список pgsql-hackers
Konstantin Knizhnik <k.knizhnik@postgrespro.ru> writes:
> Is there any reason for not handling T_TargetEntry node kind in 
> exprType() function in nodeFuncs.c?

It's intentional because that's not considered an executable
expression.

> But why in this case it is handled in the exprLocation function?

There are lots of things that have syntactic locations but aren't
value-yielding expressions.

            regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [PoC PATCH] Parallel dump to /dev/null
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: INOUT parameters in procedures