postgresql/src/backend/access
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
..
common Remove collation information from TypeName, where it does not belong. 2011-03-09 22:39:20 -05:00
gin Revise collation derivation method and expression-tree representation. 2011-03-19 20:30:08 -04:00
gist Fix crash in the new GiST insertion code, when an update splits the root page. 2011-01-09 21:36:22 +02:00
hash Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
heap You must hold a lock on the heap page when you call 2011-03-04 15:43:11 +02:00
index Revise collation derivation method and expression-tree representation. 2011-03-19 20:30:08 -04:00
nbtree Fix bugs in Serializable Snapshot Isolation. 2011-03-01 19:05:16 +02:00
transam Remove bogus semicolons in recoveryPausesHere. 2011-03-18 08:09:09 -04:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00