pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <andrew@libertyrms.info>
To: pgsql-general@postgresql.org
Subject: Re: Case in-sensitive
Date: Tue, 23 Jul 2002 10:46:33 -0400
Message-ID: <20020723104633.E23294@mail.libertyrms.com> (raw)
In-Reply-To: <F65Ok5zzfEvxhJx5seQ00000046@hotmail.com>
References: <F65Ok5zzfEvxhJx5seQ00000046@hotmail.com>

On Tue, Jul 23, 2002 at 02:35:40PM +0000, Carmen Wai wrote:
> Hello:
> 
> Can I config the Postgresql so that it can match case in-sensitive pattern 
> automatically? i.e. I don't need to explicit convert the pattern to lower 
> case like this: .....WHERE lower(textfield) LIKE lower(pattern)

No.  But you can use ILIKE, which is a case-insensitive LIKE.

A

-- 
----
Andrew Sullivan                               87 Mowat Avenue 
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M6K 3E3
                                         +1 416 646 3304 x110




view thread (4+ messages)  latest in thread

Message-ID: <20020723104633.E23294@mail.libertyrms.com>
Permalink:  ../20020723104633.E23294@mail.libertyrms.com/
Also on:    postgresql.org/message-id/20020723104633.E23294@mail.libertyrms.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: andrew@libertyrms.info, pgsql-general@postgresql.org
  Subject: Re: Case in-sensitive
  In-Reply-To: <20020723104633.E23294@mail.libertyrms.com>

* 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