postgresql/src/backend/parser
Bruce Momjian 9a0dd4fb18 There's a patch attached to fix gcc 2.8.x warnings, except for the
yyerror ones from bison. It also includes a few 'enhancements' to
the C programming style (which are, of course, personal).

The other patch removes the compilation of backend/lib/qsort.c, as
qsort() is a standard function in stdlib.h and can be used any
where else (and it is). It was only used in
backend/optimizer/geqo/geqo_pool.c, backend/optimizer/path/predmig.c,
and backend/storage/page/bufpage.c

> > Some or all of these changes might not be appropriate for v6.3,
since we > > are in beta testing and since they do not affect the
current functionality.  > > For those cases, how about submitting
patches based on the final v6.3 > > release?

There's more to come. Please review these patches. I ran the
regression tests and they only failed where this was expected
(random, geo, etc).

Cheers,

Jeroen
1998-03-30 16:47:35 +00:00
..
analyze.c There's a patch attached to fix gcc 2.8.x warnings, except for the 1998-03-30 16:47:35 +00:00
gram.c I started adding the Having Clause and it works quite fine for 1998-03-30 16:36:43 +00:00
gram.y I started adding the Having Clause and it works quite fine for 1998-03-30 16:36:43 +00:00
keywords.c Allow parsing expressions with ") -" (scan.l, scan.c only). 1998-03-18 16:50:25 +00:00
Makefile Start shipping gram.y products gram.c and parse.h to avoid having to build 1998-02-18 07:37:05 +00:00
parse_agg.c I started adding the Having Clause and it works quite fine for 1998-03-30 16:36:43 +00:00
parse_clause.c Add checks for UNION target fields, and add optional TABLE to LOCK 1998-03-18 15:49:08 +00:00
parse_expr.c BETWEEN and LIKE patch from Thomas 1998-03-26 21:08:10 +00:00
parse_func.c pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
parse_node.c pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
parse_oper.c pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
parse_relation.c pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
parse_target.c pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
parse_type.c From: Darren King <darrenk@insightdist.com> 1998-02-27 19:44:51 +00:00
parse.h Allow parsing expressions with ") -" (scan.l, scan.c only). 1998-03-18 16:50:25 +00:00
parser.c pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +00:00
README Add Var.varlevelup to code. More parser cleanup. 1998-01-20 22:12:17 +00:00
scan.c Allow parsing expressions with ") -" (scan.l, scan.c only). 1998-03-18 16:50:25 +00:00
scan.l Allow parsing expressions with ") -" (scan.l, scan.c only). 1998-03-18 16:50:25 +00:00
scansup.c pgindent run before 6.3 release, with Thomas' requested changes. 1998-02-26 04:46:47 +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_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