Fix the raw-parsetree representation of star (as in SELECT * FROM or
Tom Lane <tgl@sss.pgh.pa.us>
Fix the raw-parsetree representation of star (as in SELECT * FROM or SELECT foo.*) so that it cannot be confused with a quoted identifier "*". Instead create a separate node type A_Star to represent this notation. Per pgsql-hackers discussion of 2007-Sep-27.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/namespace.c | modified | +14 −2 |
| src/backend/commands/async.c | modified | +5 −13 |
| src/backend/nodes/copyfuncs.c | modified | +12 −1 |
| src/backend/nodes/equalfuncs.c | modified | +10 −1 |
| src/backend/nodes/outfuncs.c | modified | +10 −1 |
| src/backend/parser/gram.y | modified | +46 −23 |
| src/backend/parser/parse_clause.c | modified | +3 −2 |
| src/backend/parser/parse_expr.c | modified | +63 −19 |
| src/backend/parser/parse_target.c | modified | +20 −22 |
| src/backend/parser/parse_type.c | modified | +3 −2 |
| src/backend/tcop/utility.c | modified | +5 −2 |
| src/include/nodes/nodes.h | modified | +2 −1 |
| src/include/nodes/parsenodes.h | modified | +30 −17 |