Re: Disabling case sensitivity - Mailing list pgsql-general

From Michael Meskes
Subject Re: Disabling case sensitivity
Date
Msg-id 20020710132200.GA3558@feivel.credativ.de
Whole thread Raw
In response to Disabling case sensitivity  (linux_211@hotmail.com (igor))
Responses Re: Disabling case sensitivity  (Stephane Bortzmeyer <bortzmeyer@nic.fr>)
List pgsql-general
On Tue, Jul 09, 2002 at 04:11:38PM -0700, 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';

Can't you use something like

SELECT from table where tolower(username)='good';

?

> Exactly like in MS SQL server.

You mean MS SQL is not case sensitive for data? But it is for attribute
names. Not exactly what I call a logical setup. :-)

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

pgsql-general by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Disabling case sensitivity
Next
From: "Mourad EL HADJ MIMOUNE"
Date:
Subject: Shared table across all databases