Re: [HACKERS] It would be nice if this could be fixed...
В списке pgsql-hackers по дате отправления:
| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] It would be nice if this could be fixed... |
| Дата | |
| Msg-id | 199905070305.XAA09049@candle.pha.pa.us обсуждение |
| Ответ на | Re: [HACKERS] It would be nice if this could be fixed... (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> I think it'd be a good idea to try to centralize this knowledge so that
> there are fewer places to change to add a new node type. For example,
> a routine that wants to examine all the Var nodes in a tree should be
> able to look something like this:
>
> if (IsA(node, Var))
> {
> process var node;
> }
> else
> standard_tree_walker(node, myself, ...);
>
> rather than having another copy of a bunch of error-prone boilerplate.
That is an interesting idea. The current code clearly needs cleanup and
is error-prone.
-- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера