Number of GiST support functions

Started by PG Bug reporting formover 4 years ago2 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/14/gist-extensibility.html
Description:

The documentation states that

There are five methods that an index operator class for GiST must provide,

and five that are optional.

although there are 11 of them. Eleventh optional sortsupport method was
added in 16fa9b2b30a.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: Number of GiST support functions

PG Doc comments form <noreply@postgresql.org> writes:

Page: https://www.postgresql.org/docs/14/gist-extensibility.html

The documentation states that
There are five methods that an index operator class for GiST must provide,
and five that are optional.

Hmm, that's pretty broken all right, but it was broken before too.
According to Table 38.11, there are "ten support functions, three of
which are optional". So there have been repeated documentation
failures in this area. I notice that the two lists don't agree
on what the "equal" support function is called, either.

Will fix, thanks for noticing!

regards, tom lane