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, though I
think operators might have some more.
> Personally, when I want to add a field to a node, I grep for every
> reference to one or two of the existing fields to make sure I've found
> all the places I need to touch.
So there's no shortcut, I'll remember that :)
Thanks for the help,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.