postgresql/src/backend/parser
Bruce Momjian 12c9423832 Allow Win32 to compile under MinGW. Major changes are:
Win32 port is now called 'win32' rather than 'win'
        add -lwsock32 on Win32
        make gethostname() be only used when kerberos4 is enabled
        use /port/getopt.c
        new /port/opendir.c routines
        disable GUC unix_socket_group on Win32
        convert some keywords.c symbols to KEYWORD_P to prevent conflict
        create new FCNTL_NONBLOCK macro to turn off socket blocking
        create new /include/port.h file that has /port prototypes, move
          out of c.h
        new /include/port/win32_include dir to hold missing include files
        work around ERROR being defined in Win32 includes
2003-05-15 16:35:30 +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 Implement feature of new FE/BE protocol whereby RowDescription identifies 2003-05-06 00:20:33 +00:00
gram.y Allow Win32 to compile under MinGW. Major changes are: 2003-05-15 16:35:30 +00:00
keywords.c Allow Win32 to compile under MinGW. Major changes are: 2003-05-15 16:35:30 +00:00
Makefile Get rid of last few vestiges of parsetree dependency on grammar token 2003-02-10 04:44:47 +00:00
parse_agg.c Repair incorrect checking of grouped/ungrouped variables in the presence 2003-04-03 18:04:09 +00:00
parse_clause.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parse_coerce.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parse_expr.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parse_func.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parse_node.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parse_oper.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parse_relation.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parse_target.c Implement feature of new FE/BE protocol whereby RowDescription identifies 2003-05-06 00:20:33 +00:00
parse_type.c Infrastructure for deducing Param types from context, in the same way 2003-04-29 22:13:11 +00:00
parser.c Not sure why parser() was still doing clearerr(stdin) ... but it's 2003-05-05 01:59:02 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.l Put back encoding-conversion step in processing of incoming queries; 2003-04-27 20:09:44 +00:00
scansup.c Be careful to include postgres.h *before* any system headers, to ensure 2002-09-05 00:43:07 +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