Re: Full Case INSENSITIVE ...

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Nicola Cisternino <ncister(at)tin(dot)it>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Full Case INSENSITIVE ...
Date: 2001-07-27 16:08:38
Message-ID: Pine.BSF.4.21.0107270904410.82080-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 :) )

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Selvam 2001-07-27 18:21:24 Problem starting postgresql
Previous Message Weiping He 2001-07-27 15:16:12 Re: psql error: file to large!