Skip site navigation (1) Skip section navigation (2)

ALTER TABLE ... CLUSTER ON synopsis

From: Josh Kupershmidt <schmiddy(at)gmail(dot)com>
To: pgsql-docs <pgsql-docs(at)postgresql(dot)org>
Subject: ALTER TABLE ... CLUSTER ON synopsis
Date: 2012-05-21 02:12:56
Message-ID: CAK3UJRHkjC1PNzu+x+bATT0ku2TRipPUqq60NX4p1eqBw54z9Q@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-docs
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

Attachment: alter_table_cluster_on.diff
Description: application/octet-stream (652 bytes)

Responses

pgsql-docs by date

Next:From: Dan McGeeDate: 2012-05-21 10:11:34
Subject: Re: Observation on integer types documentation
Previous:From: David FetterDate: 2012-05-20 19:28:35
Subject: Re: SQL key word list and SQL:2011

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group