Re: EXEC_EVALDEBUG debugging broken?
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: peter(dot)trautmeier(at)gmx(dot)de
- Cc: pgsql-hackers(at)postgresql(dot)org
- Subject: Re: EXEC_EVALDEBUG debugging broken?
- Date: Wed, 25 Jul 2007 11:09:07 -0400
- Message-id: <9693(dot)1185376147(at)sss(dot)pgh(dot)pa(dot)us>
peter(dot)trautmeier(at)gmx(dot)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
Home |
Main Index |
Thread Index