Re: case-(in)sensitive Server

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel Grob <dgrob(at)gmx(dot)net>, pgsql-novice(at)postgresql(dot)org
Subject: Re: case-(in)sensitive Server
Date: 2002-06-13 20:42:27
Message-ID: 200206131342.28002.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice


Tom,

> > Jan, Tom, is there any way that he could do this with RULEs? It seems
> > like there should be some way, but I can't figure it out.
>
> Do *what*, exactly? It wasn't at all clear to me what SQL operation is
> being performed here.

He wants
SELECT * FROM table_a WHERE code = 'volume';
to be automagically replaced with:
SELECT * FROM table_a WHRE code ILIKE 'volume';

to build-in case insensitivity.

--
-Josh Berkus

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2002-06-13 20:48:42 Re: case-(in)sensitive Server
Previous Message Tom Lane 2002-06-13 20:09:38 Re: case-(in)sensitive Server