Re: Mysteriously lost values in nodes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Mysteriously lost values in nodes
Date: 2005-09-06 17:51:25
Message-ID: 19257.1126029085@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)org> 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_expressions as the likely culprit. clauses.c has some other
code you'd better look at too.

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-09-06 18:00:23 Re: Attention PL authors: want to be listed in template table?
Previous Message Peter Eisentraut 2005-09-06 17:51:24 Re: Attention PL authors: want to be listed in template table?