Re: Can't find documentation for ~=~ operator - Mailing list pgsql-general

From Tom Lane
Subject Re: Can't find documentation for ~=~ operator
Date
Msg-id 29183.1255617699@sss.pgh.pa.us
Whole thread Raw
In response to Can't find documentation for ~=~ operator  (Viktor Rosenfeld <listuser36@googlemail.com>)
Responses Re: Can't find documentation for ~=~ operator
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Too easy to log in as the "postgres" user?
Next
From: Nathan Boley
Date:
Subject: Re: SFPUG: Video from "Statistics and Postgres -- How the Planner Sees Your Data" Now on Vimeo