public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Josh Kupershmidt <[email protected]>
Cc: pgsql-docs <[email protected]>
Subject: Re: ALTER TABLE ... CLUSTER ON synopsis
Date: Mon, 21 May 2012 12:09:25 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAK3UJRHkjC1PNzu+x+bATT0ku2TRipPUqq60NX4p1eqBw54z9Q@mail.gmail.com>
References: <CAK3UJRHkjC1PNzu+x+bATT0ku2TRipPUqq60NX4p1eqBw54z9Q@mail.gmail.com>

Josh Kupershmidt <[email protected]> writes:
> The reference page for ALTER TABLE[1] correctly has the synopsis:

>     CLUSTER ON <replaceable class="PARAMETER">index_name</replaceable>

> but later leaves off the "ON" keyword:

>     <term><literal>CLUSTER</literal></term>

> I think the latter description should match the former, especially
> since 'ON' is mandatory; small patch attached.

Done, though I'm not sure we've ever tried to be consistent for such
things.

The main inconsistency I notice on that page is that some of the
subform descriptions repeat the whole syntax while others only show
the initial keyword(s).  Should we try to be more consistent about
that, and if so, in which direction?

			regards, tom lane



view thread (4+ messages)  latest in thread

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: ALTER TABLE ... CLUSTER ON synopsis
  In-Reply-To: <[email protected]>

* 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