Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
e7d9a6bf
Commit
e7d9a6bf
authored
23 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Repair example, per note in interactive docs.
parent
23ef0926
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/ref/cluster.sgml
+3
-3
3 additions, 3 deletions
doc/src/sgml/ref/cluster.sgml
with
3 additions
and
3 deletions
doc/src/sgml/ref/cluster.sgml
+
3
−
3
View file @
e7d9a6bf
<!--
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.1
3
2001/12/
08 03:24:34 thomas
Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.1
4
2001/12/
30 04:36:52 tgl
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -190,8 +190,8 @@ SELECT <replaceable class="parameter">columnlist</replaceable> INTO TABLE <repla
...
@@ -190,8 +190,8 @@ SELECT <replaceable class="parameter">columnlist</replaceable> INTO TABLE <repla
the ORDER BY clause to match the index, and which is much faster for
the ORDER BY clause to match the index, and which is much faster for
unordered data. You then drop the old table, use
unordered data. You then drop the old table, use
<command>ALTER TABLE...RENAME</command>
<command>ALTER TABLE...RENAME</command>
to rename <replaceable class="parameter">
temp
</replaceable> to the old name, and
to rename <replaceable class="parameter">
newtable
</replaceable> to the old name, and
recreate
any
indexes. The only problem is that <acronym>OID</acronym>s
recreate
the table's
indexes. The only problem is that <acronym>OID</acronym>s
will not be preserved. From then on, <command>CLUSTER</command> should be
will not be preserved. From then on, <command>CLUSTER</command> should be
fast because most of the heap data has already been
fast because most of the heap data has already been
ordered, and the existing index is used.
ordered, and the existing index is used.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment