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
c4501ec5
Commit
c4501ec5
authored
Nov 18, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove ALL from CLUSTER ALL. Use just CLUSTER.
parent
72cf6813
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
doc/src/sgml/ref/cluster.sgml
doc/src/sgml/ref/cluster.sgml
+5
-5
src/backend/commands/cluster.c
src/backend/commands/cluster.c
+2
-2
src/backend/parser/gram.y
src/backend/parser/gram.y
+3
-3
No files found.
doc/src/sgml/ref/cluster.sgml
View file @
c4501ec5
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.2
1 2002/11/15 03:09:35
momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/ref/cluster.sgml,v 1.2
2 2002/11/18 17:12:06
momjian Exp $
PostgreSQL documentation
-->
...
...
@@ -23,7 +23,7 @@ PostgreSQL documentation
<synopsis>
CLUSTER <replaceable class="PARAMETER">indexname</replaceable> ON <replaceable class="PARAMETER">tablename</replaceable>
CLUSTER <replaceable class="PARAMETER">tablename</replaceable>
CLUSTER
ALL
CLUSTER
</synopsis>
<refsect2 id="R2-SQL-CLUSTER-1">
...
...
@@ -114,8 +114,8 @@ CLUSTER
</para>
<para>
In calls to <command>CLUSTER ALL</command>,
all the tables in the database
that the calling user owns a
re clustered using the saved
information. This
A simple <command>CLUSTER</command> clusters
all the tables in the database
that the calling user owns a
nd uses the saved cluster
information. This
form of <command>CLUSTER</command> cannot be called from inside a
transaction or function.
</para>
...
...
@@ -225,7 +225,7 @@ CLUSTER emp;
Cluster all the tables on the database that have previously been clustered:
</para>
<programlisting>
CLUSTER
ALL
;
CLUSTER;
</programlisting>
</refsect1>
...
...
src/backend/commands/cluster.c
View file @
c4501ec5
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.9
4 2002/11/15 03:09:35
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/cluster.c,v 1.9
5 2002/11/18 17:12:07
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -728,7 +728,7 @@ cluster(ClusterStmt *stmt)
*
rvs
;
/*
* We cannot run CLUSTER
ALL
inside a user transaction block; if we were inside
* We cannot run CLUSTER inside a user transaction block; if we were inside
* a transaction, then our commit- and start-transaction-command calls
* would not have the intended effect!
*/
...
...
src/backend/parser/gram.y
View file @
c4501ec5
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.3
79 2002/11/15 03:09:35
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/gram.y,v 2.3
80 2002/11/18 17:12:07
momjian Exp $
*
* HISTORY
* AUTHOR DATE MAJOR EVENT
...
...
@@ -3762,7 +3762,7 @@ CreateConversionStmt:
* QUERY:
* cluster <index_name> on <qualified_name>
* cluster <qualified_name>
* cluster
ALL
* cluster
*
*****************************************************************************/
...
...
@@ -3781,7 +3781,7 @@ ClusterStmt:
n->indexname = NULL;
$$ = (Node*)n;
}
| CLUSTER
ALL
| CLUSTER
{
ClusterStmt *n = makeNode(ClusterStmt);
n->relation = NULL;
...
...
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