From: Michael Meskes <meskes@postgresql.org>
To: pgsql-general@postgresql.org
Subject: Re: Disabling case sensitivity
Date: Wed, 10 Jul 2002 15:22:00 +0200
Message-ID: <20020710132200.GA3558@feivel.credativ.de> (raw)
In-Reply-To: <ff6ce15e.0207091511.2ad76d3e@posting.google.com>
References: <ff6ce15e.0207091511.2ad76d3e@posting.google.com>
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!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: meskes@postgresql.org, pgsql-general@postgresql.org
Subject: Re: Disabling case sensitivity
In-Reply-To: <20020710132200.GA3558@feivel.credativ.de>
References: <ff6ce15e.0207091511.2ad76d3e@posting.google.com> <20020710132200.GA3558@feivel.credativ.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox