Re: How to pass around collation information - Mailing list pgsql-hackers

From Robert Haas
Subject Re: How to pass around collation information
Date
Msg-id AANLkTim3-X5a6j4i1c-TXb_CDUpkFAx5nGXqnCyZsZDV@mail.gmail.com
Whole thread Raw
In response to Re: How to pass around collation information  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: How to pass around collation information
List pgsql-hackers
On Fri, May 28, 2010 at 3:20 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On fre, 2010-05-28 at 15:03 -0400, Robert Haas wrote:
>> I think we need to think of the comparison operators as ternary, and
>> the COLLATE syntax applied to columns or present in queries as various
>> ways of setting defaults or explicit overrides for what the third
>> argument will end up being.
>
> How could this extend to things like isalpha() or upper() that would
> need access to ctype information?

Good question.  :-(

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Add SIGCHLD catch to psql
Next
From: Tom Lane
Date:
Subject: Re: tsvector pg_stats seems quite a bit off.