Re: EXEC_EVALDEBUG debugging broken? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: EXEC_EVALDEBUG debugging broken?
Date
Msg-id 9693.1185376147@sss.pgh.pa.us
Whole thread Raw
In response to Re: EXEC_EVALDEBUG debugging broken?  (peter.trautmeier@gmx.de)
List 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 by date:

Previous
From: Oleg Bartunov
Date:
Subject: Re: Updated tsearch documentation
Next
From: "Gavin M. Roy"
Date:
Subject: Machine available for community use