Skip to content

Commit e7d9a6b

Browse files
committed
Repair example, per note in interactive docs.
1 parent 23ef092 commit e7d9a6b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/ref/cluster.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.13 2001/12/08 03:24:34 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.14 2001/12/30 04:36:52 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -190,8 +190,8 @@ SELECT <replaceable class="parameter">columnlist</replaceable> INTO TABLE <repla
190190
the ORDER BY clause to match the index, and which is much faster for
191191
unordered data. You then drop the old table, use
192192
<command>ALTER TABLE...RENAME</command>
193-
to rename <replaceable class="parameter">temp</replaceable> to the old name, and
194-
recreate any indexes. The only problem is that <acronym>OID</acronym>s
193+
to rename <replaceable class="parameter">newtable</replaceable> to the old name, and
194+
recreate the table's indexes. The only problem is that <acronym>OID</acronym>s
195195
will not be preserved. From then on, <command>CLUSTER</command> should be
196196
fast because most of the heap data has already been
197197
ordered, and the existing index is used.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy