| От | Tom Lane |
|---|---|
| Тема | Re: Lack of T_TargetEntry in exprType function |
| Дата | |
| Msg-id | 12279.1521556988@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Lack of T_TargetEntry in exprType function (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>) |
| Список | pgsql-hackers |
Konstantin Knizhnik <k.knizhnik@postgrespro.ru> writes:
> On 20.03.2018 17:00, Tom Lane wrote:
>> It's intentional because that's not considered an executable
>> expression.
> I tried to apply this function to the argument of Aggref and it has
> exactly this kind.
> Aggref is executable expression. This is why I thought that all its
> arguments also should be considered as executable expressions, shouldn't
> they?
Not really. They're a list of executable expressions, which is not the
same thing --- in particular, exprType() on the whole list wouldn't give a
useful result. The TargetEntrys are best thought of as part of the list
superstructure.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера