Re: Can't find documentation for ~=~ operator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can't find documentation for ~=~ operator
Дата
Msg-id 29183.1255617699@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can't find documentation for ~=~ operator  (Viktor Rosenfeld <listuser36@googlemail.com>)
Ответы Re: Can't find documentation for ~=~ operator
Список pgsql-general
Viktor Rosenfeld <listuser36@googlemail.com> writes:
> I can't find the documentation of the ~=~ operator anywhere on the
> PostgreSQL homepage.

Which version's documentation are you reading?  It's gone as of 8.4.

> FYI, I use ~=~ for equality checks, so I can use the same index for
> equality and regexp pattern matching on a varchar field.  The index is
> built with varchar_pattern_ops.

Use plain old '=' as of 8.4.

            regards, tom lane

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Too easy to log in as the "postgres" user?
Следующее
От: Nathan Boley
Дата:
Сообщение: Re: SFPUG: Video from "Statistics and Postgres -- How the Planner Sees Your Data" Now on Vimeo