Re: CREATE INDEX...USING

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: Re: CREATE INDEX...USING
Date: 2022-08-18 16:32:28
Message-ID: Yv5pnB2RRN1lIYRi@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Wed, Aug 17, 2022 at 11:21:58PM -0400, Bruce Momjian wrote:
> On Wed, Aug 17, 2022 at 05:11:23PM -0400, Jeff Janes wrote:
> > That looks good to me.  But now looking over the linked pages more, it seems
> > like https://www.postgresql.org/docs/current/indexes-types.html was never
> > changed to admit the possibility of custom index access methods (like bloom)
>
> Uh, bloom is in /contrib, so we wouldn't mention that in the main docs,
> I think. However, it might be nice to mention you can add others.
>
> > and neither was the 'replaceable class="parameter">method' section of https://
> > www.postgresql.org/docs/current/sql-createindex.html.
>
> Yes, seems we should say that you can install your own methods that can
> be used, e.g., bloom.
>
> > Also, is it odd that we say essentially the same thing for literal USING as we
> > say for the replaceable /method/?
>
> Well, this is embarrassing. Someone reported there was no mention of
> USING in the CREATE INDEX docs, and I didn't see it either, so I added
> it.
>
> However, CREATE INDEX just lists the parameters, not the keywords, so it
> was already there as 'method', as you mentioned above. I will just
> remove the USING section I recently added.

I wrote the attached patch to address the issues above.

--
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 2.1 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2022-08-18 18:04:56 Re: max_sync_workers_per_subscription
Previous Message Maxim Yablokov 2022-08-18 09:46:41 Re: PostgreSQL 15 minor documentation improvements