On Tue, Sep 06, 2005 at 01:51:25PM -0400, Tom Lane wrote:
> Grepping for "makeNode(OpExpr)" might help you. Offhand I'd finger
> eval_const_expressions as the likely culprit. clauses.c has some other
> code you'd better look at too.
Yeah, eval_const_expressions was the culprit in this case, thou
Martijn van Oosterhout writes:
> grep reveals several places where new nodes are created but rather than
> just changing them all, is there a particular phase where these changes
> are made that I should be looking at?
Grepping for "makeNode(OpExpr)" might help you. Offhand I'd finger
eval_const
On Tue, Sep 06, 2005 at 06:06:49PM +0200, Martijn van Oosterhout wrote:
> [Please CC any replies, thanks]
>
> I added a field to each of Var, Const, FuncExpr and OpExpr which is set
> during parse_expr. But somewhere between the parsing and execution the
> values of these fields get reset back to