Re: Correction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Correction
Дата
Msg-id 1737957.1658691557@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Correction  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> "If you declare a column as UNIQUE or PRIMARY KEY, the implicitly generated
> index is case-sensitive. So it's useless for case-insensitive searches, and
> it won't enforce uniqueness case-insensitively."

> I think the statement above is not correct. I tried creating a PK or unique
> key index on a CITEXT column. It checks uniqueness in case-insensitivity.

That paragraph is talking about what happens when you *don't* use citext.

            regards, tom lane



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

Предыдущее
От: "yanliang lei"
Дата:
Сообщение: pg document is not recorded:maintenance_work_mem can not large than 2GB in windows
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug in code sample in "8.15.5. Searching in Arrays"