public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alexander Korotkov <[email protected]>
To: Bruce Momjian <[email protected]>
Cc: PostgreSQL-documentation <[email protected]>
Subject: Re: Mention of PG 14 in docs
Date: Tue, 4 May 2021 03:51:51 +0300
Message-ID: <CAPpHfdt37Ka4JPh8SktcrBT6rJwijGh8Xa4M1qe-a3w96wAL1A@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Hi, Bruce!
On Tue, May 4, 2021 at 2:49 AM Bruce Momjian <[email protected]> wrote:
> In patch "Handle equality operator in contrib/pg_trgm" (935f66665), I
> see this text:
>
> --> <literal>~</literal> and <literal>~*</literal> queries. Beginning in
> --> <productname>PostgreSQL</productname> 14, these indexes also support
> equality operator (simple comparison operators are not supported).
> Note that those indexes may not be as efficient as regular B-tree indexes
> for equality operator.
>
> As far as I know, we don't usually mention what version _added_ a
> feature like this. I suggest the PG 14 mention be removed.
I agree with this. Thank you for pointing. Are you OK with the attached patch?
------
Regards,
Alexander Korotkov
Attachments:
[application/octet-stream] pg_trgm_doc_fix.patch (878B, 2-pg_trgm_doc_fix.patch)
download | inline diff:
diff --git a/doc/src/sgml/pgtrgm.sgml b/doc/src/sgml/pgtrgm.sgml
index ca97c7ce00a..7e292822553 100644
--- a/doc/src/sgml/pgtrgm.sgml
+++ b/doc/src/sgml/pgtrgm.sgml
@@ -415,9 +415,8 @@
the purpose of very fast similarity searches. These index types support
the above-described similarity operators, and additionally support
trigram-based index searches for <literal>LIKE</literal>, <literal>ILIKE</literal>,
- <literal>~</literal> and <literal>~*</literal> queries. Beginning in
- <productname>PostgreSQL</productname> 14, these indexes also support
- the equality operator (inequality operators are not supported).
+ <literal>~</literal>, <literal>~*</literal> and <literal>=</literal> queries.
+ Inequality operators are not supported.
Note that those indexes may not be as efficient as regular B-tree indexes
for equality operator.
</para>
reply
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Mention of PG 14 in docs
In-Reply-To: <CAPpHfdt37Ka4JPh8SktcrBT6rJwijGh8Xa4M1qe-a3w96wAL1A@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox