Re: Mysteriously lost values in nodes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Mysteriously lost values in nodes
Дата
Msg-id 19257.1126029085@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Mysteriously lost values in nodes  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Mysteriously lost values in nodes  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Attention PL authors: want to be listed in template table?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Attention PL authors: want to be listed in template table?