Re: What is impact of "varchar_opts"?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What is impact of "varchar_opts"?
Дата
Msg-id 8982.1358795889@sss.pgh.pa.us
обсуждение исходный текст
Ответ на What is impact of "varchar_opts"?  (Edson Richter <edsonrichter@hotmail.com>)
Ответы Re: What is impact of "varchar_opts"?  (Edson Richter <edsonrichter@hotmail.com>)
Список pgsql-general
Edson Richter <edsonrichter@hotmail.com> writes:
> I'm wondering why "varchar_opts" is not default operator class for all
> indexed varchar field.

varchar has no operators of its own; it just relies on the operators for
type text.  Therefore text_ops is the formally correct choice.  The
varchar_ops opclass is just an alias that's there so we don't get bug
reports from pedants who expect varchar to have a varchar_ops opclass.

            regards, tom lane


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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Running update in chunks?
Следующее
От: Edson Richter
Дата:
Сообщение: Re: What is impact of "varchar_opts"?