Re: case insensitive unique index

Поиск
Список
Период
Сортировка
От Michael Fork
Тема Re: case insensitive unique index
Дата
Msg-id Pine.BSI.4.21.0101301715500.14806-100000@glass.toledolink.com
обсуждение исходный текст
Ответ на case insensitive unique index  (Culley Harrelson <culleyharrelson@yahoo.com>)
Список pgsql-general
You can create a case insensitive, unique index like this:

CREATE UNIQUE INDEX indexname ON tablename (lower(fieldname))

Michael Fork - CCNA - MCP - A+
Network Support - Toledo Internet Access - Toledo Ohio

On Tue, 30 Jan 2001, Culley Harrelson wrote:

> is there a way to make a unique index case insesitive
> for text data?  I can change case in my front end code but I
> thought I'd ask :)
>
>


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

Предыдущее
От: Culley Harrelson
Дата:
Сообщение: case insensitive unique index
Следующее
От: "Michael Miyabara-McCaskey"
Дата:
Сообщение: Queries against multi-million record tables.