Re: What is impact of "varchar_opts"?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What is impact of "varchar_opts"?
Дата
Msg-id 10020.1358798621@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 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 see. So, what is the overhead of having text_ops in opclass?
> Can I define it as default for all my indexes when textual type of any kind?

Why are you intent on defining anything?  IMO, best practice is to let
the database choose the opclass, unless you have a very good and
specific reason to choose a non-default one for a particular index.
Letting it default is way more future-proof than specifying something.

            regards, tom lane


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Yet Another Timestamp Question: Time Defaults
Следующее
От: Tim Uckun
Дата:
Сообщение: Re: Running update in chunks?