From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: splarv@ya.ru
Subject: prefix match operator ^@
Date: Mon, 20 Apr 2020 16:56:00 +0000
Message-ID: <158740176041.11601.7844237687908212295@wrigleys.postgresql.org> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/12/functions-string.html
Description:
Preparing to upgrade old PostgreSQL and looking changelog, I has found log
about "prefix text match" operator (boosted by SP_GIST):
=> select 'ab' ^@ 'a';
?column?
----------
t
(1 row)
Yes, search on prefix is widely used, indeed. But there is nothing about it
in the documentation. Instead exists only a function "starts_with", may be
this is a different thing. And may be it is not boosted by the index in the
same way, as operator ^@. And functionality is duplicated.
At least this operator must be documented.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, splarv@ya.ru
Subject: Re: prefix match operator ^@
In-Reply-To: <158740176041.11601.7844237687908212295@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox