Re: Why is varchar_pattern_ops needed?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why is varchar_pattern_ops needed?
Дата
Msg-id 7579.1393860358@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Why is varchar_pattern_ops needed?  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Ответы Re: Why is varchar_pattern_ops needed?  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Список pgsql-general
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.

            regards, tom lane


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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: multiple results from a function
Следующее
От: Anh Pham
Дата:
Сообщение: execute table query in backend