public inbox for [email protected]
help / color / mirror / Atom feedFrom: Josh Kupershmidt <[email protected]>
To: pgsql-docs <[email protected]>
Subject: ALTER TABLE ... CLUSTER ON synopsis
Date: Sun, 20 May 2012 19:12:56 -0700
Message-ID: <CAK3UJRHkjC1PNzu+x+bATT0ku2TRipPUqq60NX4p1eqBw54z9Q@mail.gmail.com> (raw)
Hi all,
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.
Josh
[1] http://www.postgresql.org/docs/devel/static/sql-altertable.html
Attachments:
[application/octet-stream] alter_table_cluster_on.diff (653B, 2-alter_table_cluster_on.diff)
download | inline diff:
diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml
new file mode 100644
index a39cb8f..04e3e54
*** a/doc/src/sgml/ref/alter_table.sgml
--- b/doc/src/sgml/ref/alter_table.sgml
*************** ALTER TABLE [ IF EXISTS ] <replaceable c
*** 387,393 ****
</varlistentry>
<varlistentry>
! <term><literal>CLUSTER</literal></term>
<listitem>
<para>
This form selects the default index for future
--- 387,393 ----
</varlistentry>
<varlistentry>
! <term><literal>CLUSTER ON</literal></term>
<listitem>
<para>
This form selects the default index for future
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]
Subject: Re: ALTER TABLE ... CLUSTER ON synopsis
In-Reply-To: <CAK3UJRHkjC1PNzu+x+bATT0ku2TRipPUqq60NX4p1eqBw54z9Q@mail.gmail.com>
* 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