Re: Theory of operation of collation patch - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Theory of operation of collation patch
Date
Msg-id 1299624954.19938.23.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Theory of operation of collation patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Theory of operation of collation patch
List pgsql-hackers
On mån, 2011-03-07 at 19:15 -0500, Tom Lane wrote:
> Or, to put it another way: the properties that define a sort order are
> the sort comparison operator, the collation, the ASC/DESC bit, and the
> NULLS FIRST/LAST bit.  Given the way that the SQL committee has
> constructed the language, the operator and the two flag bits are
> attached to the ORDER BY clause, but the collation is a property of
> the expression-to-be-sorted.  If we fail to preserve that distinction
> in the internal representation, we're just creating problems for
> ourselves.

You are probably right; it could be simplified.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Theory of operation of collation patch
Next
From: Peter Eisentraut
Date:
Subject: Re: Alpha4 release blockers (was Re: wrapping up this CommitFest)