Re: Mysteriously lost values in nodes

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

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

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