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: 2007-07-25 15:09:07
Message-ID: 9693.1185376147@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin M. Roy 2007-07-25 15:15:54 Machine available for community use
Previous Message Oleg Bartunov 2007-07-25 14:58:48 Re: Updated tsearch documentation