pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: igor <linux_211@hotmail.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Disabling case sensitivity
Date: 10 Jul 2002 14:11:42 +0100
Message-ID: <1026306702.1183.148.camel@linda> (raw)
In-Reply-To: <ff6ce15e.0207091511.2ad76d3e@posting.google.com>
References: <ff6ce15e.0207091511.2ad76d3e@posting.google.com>

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()).





view thread (14+ messages)  latest in thread

Message-ID: <1026306702.1183.148.camel@linda>
Permalink:  ../1026306702.1183.148.camel@linda/
Also on:    postgresql.org/message-id/1026306702.1183.148.camel@linda

 · 

reply

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: olly@lfix.co.uk, linux_211@hotmail.com, pgsql-general@postgresql.org
  Subject: Re: [GENERAL] Disabling case sensitivity
  In-Reply-To: <1026306702.1183.148.camel@linda>
  References: <ff6ce15e.0207091511.2ad76d3e@posting.google.com> <1026306702.1183.148.camel@linda>

* 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