postgresql/src/include/parser
Tom Lane b310b6e31c Revise collation derivation method and expression-tree representation.
All expression nodes now have an explicit output-collation field, unless
they are known to only return a noncollatable data type (such as boolean
or record).  Also, nodes that can invoke collation-aware functions store
a separate field that is the collation value to pass to the function.
This avoids confusion that arises when a function has collatable inputs
and noncollatable output type, or vice versa.

Also, replace the parser's on-the-fly collation assignment method with
a post-pass over the completed expression tree.  This allows us to use
a more complex (and hopefully more nearly spec-compliant) assignment
rule without paying for it in extra storage in every expression node.

Fix assorted bugs in the planner's handling of collations by making
collation one of the defining properties of an EquivalenceClass and
by converting CollateExprs into discardable RelabelType nodes during
expression preprocessing.
2011-03-19 20:30:08 -04:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
analyze.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
gramparse.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
keywords.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
kwlist.h Remove 13 keywords that are used only for ROLE options. 2011-03-15 10:22:58 -04:00
parse_agg.h Revise collation derivation method and expression-tree representation. 2011-03-19 20:30:08 -04:00
parse_clause.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parse_coerce.h Revise collation derivation method and expression-tree representation. 2011-03-19 20:30:08 -04:00
parse_collate.h Revise collation derivation method and expression-tree representation. 2011-03-19 20:30:08 -04:00
parse_cte.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parse_expr.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parse_func.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parse_node.h Revise collation derivation method and expression-tree representation. 2011-03-19 20:30:08 -04:00
parse_oper.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parse_param.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parse_relation.h Support data-modifying commands (INSERT/UPDATE/DELETE) in WITH. 2011-02-25 18:58:02 -05:00
parse_target.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parse_type.h Remove collation information from TypeName, where it does not belong. 2011-03-09 22:39:20 -05:00
parse_utilcmd.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parser.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
parsetree.h Per-column collation support 2011-02-08 23:04:18 +02:00
scanner.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
scansup.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00