Re: ^@ operator for text

From: Олег Самойлов <splarv(at)ya(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: ^@ operator for text
Date: 2021-12-24 11:52:56
Message-ID: 10BC6099-7829-469A-BF19-0928B0DD5E35@ya.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

> 23 дек. 2021 г., в 18:18, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> написал(а):
>
> PG Doc comments form <noreply(at)postgresql(dot)org> writes:
>> In the new documentation
>> https://www.postgresql.org/docs/14/functions-string.html
>> you again lost information about ^@ operator for text and keep information
>> about only function starts_with on which this operator is based.
>
> "Again"? It was never there before, cf
>
> https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=710d90da1
>
> I did do something about this recently, though:
>
> https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=2ae5d72f0
>
> regards, tom lane

I think need to mention that the main benefits of this operator (vs function starts_with) is the using with special SP-GIST index. So searching and filtering can be indexed.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2021-12-24 22:56:12 Re: ^@ operator for text
Previous Message Tom Lane 2021-12-23 15:18:34 Re: ^@ operator for text