Re: Case Sensitive "WHERE" Clauses? - Mailing list pgsql-sql

From Tom Lane
Subject Re: Case Sensitive "WHERE" Clauses?
Date
Msg-id 20455.1033096783@sss.pgh.pa.us
Whole thread Raw
In response to Re: Case Sensitive "WHERE" Clauses?  (Ian Barwick <barwick@gmx.net>)
Responses Re: Case Sensitive "WHERE" Clauses?  (Ian Barwick <barwick@gmx.net>)
List pgsql-sql
Ian Barwick <barwick@gmx.net> writes:
> Anyone know what the ANSI standard is? I don`t recall any other
> database apart from MySQL which default to case-insensitive
> CHAR or VARCHAR columns.

I believe the spec has a notion of a "collation attribute" attached
to character-type columns.  You could define a collation that makes
comparisons case insensitive and then mark selected columns that way.
We don't have anything like that yet, though Tatsuo has been heard
muttering about how to make it happen ...
        regards, tom lane


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: FW: query problem "server sent binary data ... without
Next
From: Ian Barwick
Date:
Subject: Re: Case Sensitive "WHERE" Clauses?