| От | Tom Lane |
|---|---|
| Тема | Re: parsenodes vs. primnodes |
| Дата | |
| Msg-id | 13579.1170202228@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | parsenodes vs. primnodes (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> If something from primnodes.h (XmlExpr) needs something from
> parsenodes.h (TypeName), should I just move the former to the latter,
> or is there some major semantic dividing line between the two? Or
> maybe TypeName should really be a primnode?
Anything in primnodes should never need a TypeName. Post-parse-analysis
representation of type info is as a pg_type Oid. If you think you need
something else, let's have a discussion about why. (Perhaps you need to
split XmlExpr into two different node types, one for raw grammar output
and one for parse-analysis output?)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера