Re: Nested CASE-WHEN scoping

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Nested CASE-WHEN scoping
Дата
Msg-id 5487.1306334876@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Nested CASE-WHEN scoping  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: Nested CASE-WHEN scoping
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> While looking at fixing the multiple-evaluation issue in IN and BETWEEN 
> discussed a while ago, I realized that the current assumption that only 
> one CaseTestExpr placeholder needs to be valid at any given time is not 
> true.

[ scratches head ... ]  Why does the save/restore in ExecEvalCase not
take care of this?

> So I'm going to put the BETWEEN/IN fix aside for now, and refactor the 
> placeholder infrastructure to handle several simultaneous placeholders, 

That sounds like a mess, and I'm not even convinced it'll solve the
problem ...
        regards, tom lane


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

Предыдущее
От: Hitoshi Harada
Дата:
Сообщение: Re: Pull up aggregate subquery
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Volunteering as Commitfest Manager