Re: case insensitive database ? - Mailing list pgsql-novice

From Poul L. Christiansen
Subject Re: case insensitive database ?
Date
Msg-id 3AE5FD81.27FD0977@cs.auc.dk
Whole thread Raw
In response to case insensitive database ?  (Thorsten Mauch <mauch@imkenberg.de>)
List pgsql-novice
Thorsten Mauch wrote:
>
> Hi
> Is it possible to setup a database that is case insensitive ?
I don't think you can compile with an case-insensitive flag - AFAIK. But
the workaround is to user the upper() function: SELECT * FROM MyTable
where upper(MyField) = 'UpperCaseString';

In your application that you connect to Postgres, you convert your
string to an upper case string.

> is it also possible with a multbyte database ?
It shouldn't make any difference.

Poul L. Christiansen

pgsql-novice by date:

Previous
From: Thorsten Mauch
Date:
Subject: case insensitive database ?
Next
From: Joel Burton
Date:
Subject: Re: case insensitive database ?