Re: EXEC_EVALDEBUG debugging broken?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: EXEC_EVALDEBUG debugging broken?
Дата
Msg-id 9693.1185376147@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: EXEC_EVALDEBUG debugging broken?  (peter.trautmeier@gmx.de)
Список pgsql-hackers
peter.trautmeier@gmx.de writes:
> Is it possible to store the calculated logical value of certain
> expressions, e.g. boolean OpExprs, in their ExprState on a per tuple
> basis to reuse them later?  (I guess I described some kind of
> 'condition cache' here.)

No ... what would be the point?  If the expression is known constant
it'll be folded to a Const at plan time, and if it's not constant I
don't see how we know when we can cache its value.
        regards, tom lane


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Updated tsearch documentation
Следующее
От: "Gavin M. Roy"
Дата:
Сообщение: Machine available for community use