BETWEEN operator not indexed

Started by PG Bug reporting formalmost 4 years ago3 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/12/functions-comparison.html
Description:

The BETWEEN operator can't be found by searching.

#2Daniel Gustafsson
daniel@yesql.se
In reply to: PG Bug reporting form (#1)
Re: BETWEEN operator not indexed

On 3 May 2022, at 07:23, PG Doc comments form <noreply@postgresql.org> wrote:

The BETWEEN operator can't be found by searching.

It is actually indexed, but it can indeed not be searched on its own.

<indexterm>
<primary>BETWEEN</primary>
</indexterm>
<indexterm>
<primary>BETWEEN SYMMETRIC</primary>
</indexterm>

A wild guess; perhaps between is defined in a stopwords list for searching
somewhere?

--
Daniel Gustafsson https://vmware.com/

#3Alvaro Herrera
alvherre@2ndquadrant.com
In reply to: Daniel Gustafsson (#2)
Re: BETWEEN operator not indexed

On 2022-May-03, Daniel Gustafsson wrote:

A wild guess; perhaps between is defined in a stopwords list for searching
somewhere?

Our very own src/backend/snowball/stopwords/english.stop contains it.

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/