Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: parsenodes vs. primnodes



Peter Eisentraut <peter_e(at)gmx(dot)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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group