pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Vecernik <vecernik@aon.at>
To: tsattler@speakeasy.net
Cc: pgsql-admin@postgresql.org
Subject: Re: Queries
Date: Fri, 04 May 2001 23:49:22 +0200
Message-ID: <3AF323E2.CBD5ED27@aon.at> (raw)
References: <200105041512.IAA22056@webmail.speakeasy.net>

tsattler@speakeasy.net wrote:
> 
> Greetings All.
> 
> I have a record on my database with a last name of 'DeFelice'.
> 
> I want to be able to retrieve that record whether a user enters 'DeFelice', 'Defelice', 'defelice', or 'DEFELICE'.  Is there a way I can do that?  Is that what the "ilike" function does?
> 
> I'm on 7.0.3.

~* Match (regex), case insensitive is what you are looking for.

Regards,
Oliver



view thread (7+ messages)  latest in thread

Message-ID: <3AF323E2.CBD5ED27@aon.at>
Permalink:  ../3AF323E2.CBD5ED27@aon.at/
Also on:    postgresql.org/message-id/3AF323E2.CBD5ED27@aon.at

 · 

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-admin@postgresql.org
  Cc: vecernik@aon.at, tsattler@speakeasy.net
  Subject: Re: Queries
  In-Reply-To: <3AF323E2.CBD5ED27@aon.at>

* 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