Re: case-(in)sensitive Server

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: case-(in)sensitive Server
Дата
Msg-id 200206131342.28002.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: case-(in)sensitive Server  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: case-(in)sensitive Server
Список 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


В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: case-(in)sensitive Server
Следующее
От: Tom Lane
Дата:
Сообщение: Re: case-(in)sensitive Server