Re: Disabling case sensitivity

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Disabling case sensitivity
Date: 2002-07-10 13:22:00
Message-ID: 20020710132200.GA3558@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin 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(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stephane Bortzmeyer 2002-07-10 13:33:39 Re: Disabling case sensitivity
Previous Message Oliver Elphick 2002-07-10 13:11:42 Re: [GENERAL] Disabling case sensitivity

Browse pgsql-general by date

  From Date Subject
Next Message Mourad EL HADJ MIMOUNE 2002-07-10 13:28:54 Shared table across all databases
Previous Message Oliver Elphick 2002-07-10 13:11:42 Re: [GENERAL] Disabling case sensitivity