This is a discussion on parsenodes vs. primnodes within the pgsql Hackers forums, part of the PostgreSQL category; --> If something from primnodes.h (XmlExpr) needs something from parsenodes.h (TypeName), should I just move the former to the latter, ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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? -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster |
| ||||
| 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 ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |
| Thread Tools | |
| Display Modes | |
|
|