Re: Full Case INSENSITIVE ... - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: Full Case INSENSITIVE ...
Date
Msg-id Pine.BSF.4.21.0107270904410.82080-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Full Case INSENSITIVE ...  ("Nicola Cisternino" <ncister@tin.it>)
List pgsql-admin
On Fri, 27 Jul 2001, Nicola Cisternino wrote:

> Hi,
>
> ... We are a Microsoft SQL Server users by many years .... and now we
> would like migrate our applications on PostgreSQL ... .but for us is
> very important the case function in query operations .... SQL Server
> databases can be case-sensitive or case-insensitive depending on
> installation options. If a database is case-sensitive, when you search
> for text data, you can use any combination of uppercase and lowercase
> letters. For example, if you are looking for a name such as "Smith,"
> you can use the search conditions "=smith" or "=SMITH." ... so as you
> can search any data with all standard operators ( ">" "<" ... etc...)
> without lost any record ! ....
>
> It's possible with PostgreSQL ???  ( .... i already know the ILIKE
> clause .... but it's insufficient !! ...)
>
> It will be a future implementation  ???

Probably not directly that way.  Probably you'd be able to do it through
all the mutant SQL character classing stuff when that's implemented.

I don't know much about the locale stuff, but I'd guess that right now
if you could find a locale which treated those characters as equivalent,
you'd probably be able to get truly insensitive searches.  (I don't know
if that's even possible to specify in locales, but I'm sure someone who
knows will pipe up with an answer now :) )


pgsql-admin by date:

Previous
From: Weiping He
Date:
Subject: Re: psql error: file to large!
Next
From: Roy Souther
Date:
Subject: Re: psql error: file to large!