Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6cfa6cb9
Commit
6cfa6cb9
authored
Jan 10, 1998
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix CLUSTER.
parent
e6c714bf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
src/backend/commands/cluster.c
src/backend/commands/cluster.c
+4
-1
src/man/cluster.l
src/man/cluster.l
+5
-1
src/tools/RELEASE_CHANGES
src/tools/RELEASE_CHANGES
+1
-0
No files found.
src/backend/commands/cluster.c
View file @
6cfa6cb9
...
...
@@ -14,7 +14,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.2
1 1998/01/05 16:38:42
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.2
2 1998/01/10 05:19:03
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -177,6 +177,9 @@ cluster(char oldrelname[], char oldindexname[])
/* Destroy old heap (along with its index) and rename new. */
heap_destroy_with_catalog
(
oldrelname
);
CommitTransactionCommand
();
StartTransactionCommand
();
renamerel
(
NewHeapName
,
saveoldrelname
);
TypeRename
(
NewHeapName
,
saveoldrelname
);
...
...
src/man/cluster.l
View file @
6cfa6cb9
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/cluster.l,v 1.
2 1996/12/11 00:27:07
momjian Exp $
.\" $Header: /cvsroot/pgsql/src/man/Attic/cluster.l,v 1.
3 1998/01/10 05:19:14
momjian Exp $
.TH CLUSTER SQL 01/23/93 PostgreSQL PostgreSQL
.SH NAME
cluster \(em give storage clustering advice to Postgres
...
...
@@ -21,6 +21,10 @@ information. The clustering is static. In other words, if the class is
updated, it may become unclustered. No attempt is made to keep new
instances or updated tuples clustered. If desired, the user can
recluster manually by issuing the command again.
.PP
The table is actually copied to temporary table in index order,
then renamed back to the original name. For this reason, all
grant permissions and other indexes are lost when cluster is performed.
.SH EXAMPLE
.nf
/*
...
...
src/tools/RELEASE_CHANGES
View file @
6cfa6cb9
...
...
@@ -8,3 +8,4 @@ doc/TODO
doc/bug.template
make new /mirgration file
update include/version.h after release
update backend/parser/scan.l for non-flex sites
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment