postgresql/src/backend/parser
Bruce Momjian eb3415538e OK I found it,
I search in the planner for the '\xFF' appending.
Finally I found in MakeIndexable() in gram.y

Attach a patch which removes the "<=" test in USE_LOCALE,
might make some queries a bit slower for us "locale-heads",
BUT correct result is more important.

        regards,
--
-----------------
Göran Thyni
1999-02-02 19:20:54 +00:00
..
analyze.c Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. 1999-02-02 03:45:56 +00:00
gram.c Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. 1999-02-02 03:45:56 +00:00
gram.y OK I found it, 1999-02-02 19:20:54 +00:00
keywords.c Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. 1999-02-02 03:45:56 +00:00
Makefile From: t-ishii@sra.co.jp 1998-07-26 04:31:41 +00:00
parse.h Add TEMP tables/indexes. Add COPY pfree(). Other cleanups. 1999-02-02 03:45:56 +00:00
parse_agg.c Rename Aggreg to Aggref. 1999-01-24 00:28:37 +00:00
parse_clause.c Fixed failed assertion happening in multiple action rules 1999-02-02 12:57:51 +00:00
parse_coerce.c Implement CASE expression. 1998-12-04 15:34:49 +00:00
parse_expr.c Rename Aggreg to Aggref. 1999-01-24 00:28:37 +00:00
parse_func.c Fix reference to null pointer when no aggregate function candidates 1998-12-23 14:38:40 +00:00
parse_node.c Fix for constbyval . 1998-10-01 22:45:32 +00:00
parse_oper.c Fix up error messages when looking up functions and operators to not 1998-12-13 23:54:40 +00:00
parse_relation.c OK, folks, here is the pgindent output. 1998-09-01 04:40:42 +00:00
parse_target.c Rename Aggreg to Aggref. 1999-01-24 00:28:37 +00:00
parse_type.c New HeapTuple structure/interface. 1998-11-27 19:52:36 +00:00
parser.c OK, folks, here is the pgindent output. 1998-09-01 04:40:42 +00:00
README cleanup 1998-08-23 14:43:46 +00:00
scan.c Fix deadlock so it only checks once. 1998-12-18 19:45:38 +00:00
scan.l Make functions static or ifdef NOT_USED. Prevent pg_version creation. 1998-10-08 18:30:52 +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_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