summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorBruce Momjian2002-11-15 03:09:39 +0000
committerBruce Momjian2002-11-15 03:09:39 +0000
commit8bc717cb8878ff2baee4e29553736fab57248436 (patch)
tree69fb91e37bc3cd3d19e9aa529e3f03002ddf3719 /src/include/commands
parent5b7eb4dd45359e040cd7175f1b3cfc5ea28ad138 (diff)
New version attached. The following is implemented:
- CLUSTER ALL clusters all the tables that have some index with indisclustered set and the calling user owns. - CLUSTER tablename clusters the named table, using the index with indisclustered set. If no index has the bit set, throws elog(ERROR). - The multi-relation version (CLUSTER ALL) uses a multitransaction approach, similar to what VACUUM does. Alvaro Herrera
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/cluster.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/commands/cluster.h b/src/include/commands/cluster.h
index ff3a8d82d39..2490278b6ca 100644
--- a/src/include/commands/cluster.h
+++ b/src/include/commands/cluster.h
@@ -6,16 +6,17 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994-5, Regents of the University of California
*
- * $Id: cluster.h,v 1.15 2002/08/10 21:00:34 momjian Exp $
+ * $Id: cluster.h,v 1.16 2002/11/15 03:09:39 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef CLUSTER_H
#define CLUSTER_H
+#include <nodes/parsenodes.h>
/*
* functions
*/
-extern void cluster(RangeVar *oldrelation, char *oldindexname);
+extern void cluster(ClusterStmt *stmt);
#endif /* CLUSTER_H */