Re: Disabling case sensitivity - Mailing list pgsql-general

From Oliver Elphick
Subject Re: Disabling case sensitivity
Date
Msg-id 1026306702.1183.148.camel@linda
Whole thread Raw
In response to Disabling case sensitivity  (linux_211@hotmail.com (igor))
List pgsql-general
On Wed, 2002-07-10 at 00:11, igor wrote:

> I would like to know if there is some way how to disable case
> sensitivity in PostgreSQL server. With some varaiable or some setting
> in configuration file  or how?
> So after this would be the same 'Good' and 'GOOD' or 'GoOd' in some
> SELECT from table where username='Good'. I wanna get the same row
> with:
> SELECT from table where username='GoOd';
> Exactly like in MS SQL server.

You can use ILIKE, or search for a match to lower('GoOd') (or upper()).



pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Serious Crash last Friday
Next
From: Michael Meskes
Date:
Subject: Re: Disabling case sensitivity