Re: CREATE INDEX USING documentation

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: robertcorrington(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: CREATE INDEX USING documentation
Date: 2022-07-23 16:46:31
Message-ID: Ytwl51UFbzkxR0Cs@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sat, Jan 15, 2022 at 11:01:58PM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/14/sql-createindex.html
> Description:
>
> In the CREATE INDEX
> synopsis(https://www.postgresql.org/docs/current/sql-createindex.html), the
> USING method parameter is listed, however in the PARAMETERS section USING is
> never fully described, nor is there a link to the very help 11.2 Index Types
> page (https://www.postgresql.org/docs/14/indexes-types.html).

Well, that is certainly odd. The attached patch adds a description of
the option, and a link to the chapter you suggested.

> On a related note, the CREATE INDEX page provides the following blurb:
>
> "Prior releases of PostgreSQL also had an R-tree index method. This method
> has been removed because it had no significant advantages over the GiST
> method. If USING rtree is specified, CREATE INDEX will interpret it as USING
> gist, to simplify conversion of old databases to GiST."
>
> But there is no such blurb on the 11.2 Index Types page.

We think of backward compatibility stuff as operational, meaning it
appears in the command manual page but not necessarily in the main docs.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Indecision is a decision. Inaction is an action. Mark Batterson

Attachment Content-Type Size
using.diff text/x-diff 839 bytes

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Geoghegan 2022-07-23 18:33:40 Re: documentation on HOT
Previous Message Bruce Momjian 2022-07-23 15:51:18 Re: documentation on HOT