Re: Why is varchar_pattern_ops needed?

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Why is varchar_pattern_ops needed?
Дата
Msg-id A737B7A37273E048B164557ADEF4A58B17CCFA9E@ntex2010i.host.magwien.gv.at
обсуждение исходный текст
Ответ на Re: Why is varchar_pattern_ops needed?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
> Albe Laurenz <laurenz.albe@wien.gv.at> writes:
>> Is there anything that "varchar_pattern_ops" is needed for that "text_pattern_ops" cannot provide?
>
> Lack of surprise?  If you're creating a pattern index on a varchar column,
> you'd likely expect to need to mention varchar_pattern_ops.
>
> The idea that varchar is an alias for text might be second nature to old
> Postgres hands, but it's not to most of the world.

Thanks for the explanation!

Yours,
Laurenz Albe

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

Предыдущее
От: Steve Atkins
Дата:
Сообщение: Re: log_statement per table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Segmentation fault