postgresql/src/backend/parser
Bruce Momjian 4f63e11646 >> Hm. I'd sort of expect the "z" to become both the table and column
>> alias in this case.  What do you think?
>
> I guess that would make sense. I'll make a separate patch just for
that
> change if that's OK.
>

Simple change -- patch attached.

test=# select * from myfoo1() as z;
  z
----
   1
   2
   3
(3 rows)

Joe Conway
2002-08-06 05:34:10 +00:00
..
.cvsignore Add .cvsignore file so cvs doesn't complain if you have lex/yacc 1999-03-21 02:43:58 +00:00
analyze.c ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 2002-08-02 18:15:10 +00:00
gram.y Preliminary code review for anonymous-composite-types patch: fix breakage 2002-08-05 02:30:50 +00:00
keywords.c Implement CREATE/DROP OPERATOR CLASS. Work still remains: need more 2002-07-29 22:14:11 +00:00
Makefile Scanner performance improvements 2002-04-20 21:56:15 +00:00
parse_agg.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
parse_clause.c Attached are two patches to implement and document anonymous composite 2002-08-04 19:48:11 +00:00
parse_coerce.c Manually apply part of oid patch that didn't apply cleanly. 2002-07-20 05:29:01 +00:00
parse_expr.c Implement IS OF type predicate. Can now do queries of the form: 2002-08-04 06:46:12 +00:00
parse_func.c ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 2002-08-02 18:15:10 +00:00
parse_node.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
parse_oper.c oid is needed, it is added at the end of the struct (after the null 2002-07-20 05:16:59 +00:00
parse_relation.c >> Hm. I'd sort of expect the "z" to become both the table and column 2002-08-06 05:34:10 +00:00
parse_target.c ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 2002-08-02 18:15:10 +00:00
parse_type.c ALTER TABLE DROP COLUMN works. Patch by Christopher Kings-Lynne, 2002-08-02 18:15:10 +00:00
parser.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.l Implement hex literal conversion to bit string literal. 2002-08-04 06:36:18 +00:00
scansup.c Update copyright to 2002. 2002-06-20 20:29:54 +00:00

This directory does more than tokenize and parse SQL queries.  It also
creates Query structures for the various complex queries that is passed
to the optimizer and then executor.

parser.c	things start here
scan.l		break query into tokens
scansup.c	handle escapes in input
keywords.c	turn keywords into specific tokens
gram.y		parse the tokens and fill query-type-specific structures
analyze.c	handle post-parse processing for each query type
parse_clause.c	handle clauses like WHERE, ORDER BY, GROUP BY, ...
parse_coerce.c	used for coercing expressions of different types
parse_expr.c	handle expressions like col, col + 3, x = 3 or x = 4
parse_oper.c	handle operations in expressions
parse_agg.c	handle aggregates, like SUM(col1),  AVG(col2), ...
parse_func.c	handle functions, table.column and column identifiers
parse_node.c	create nodes for various structures
parse_target.c	handle the result list of the query
parse_relation.c support routines for tables and column handling
parse_type.c	support routines for type handling