diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-30 18:42:17 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-30 18:42:17 +0000 |
commit | a03c0d93d5a2730f25a3b2738300dacd8ca5e24a (patch) | |
tree | 0c1aef0f6bbdfb167b3bb75d5b153cd5710bd196 /src/include/commands/cluster.h | |
parent | 2e1f2c3109b43138ef32dbdba09abef7c9c51d5a (diff) | |
download | postgresql-a03c0d93d5a2730f25a3b2738300dacd8ca5e24a.tar.gz postgresql-a03c0d93d5a2730f25a3b2738300dacd8ca5e24a.zip |
Code review for CLUSTER ALL patch. Fix bogus locking, incorrect transaction
stop/start nesting, other infelicities.
Diffstat (limited to 'src/include/commands/cluster.h')
-rw-r--r-- | src/include/commands/cluster.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/include/commands/cluster.h b/src/include/commands/cluster.h index c83db667252..7eb11d60b06 100644 --- a/src/include/commands/cluster.h +++ b/src/include/commands/cluster.h @@ -6,22 +6,19 @@ * 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.17 2002/11/23 04:05:52 momjian Exp $ + * $Id: cluster.h,v 1.18 2002/12/30 18:42:16 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef CLUSTER_H #define CLUSTER_H -#include <nodes/parsenodes.h> -/* - * functions - */ -extern void cluster(ClusterStmt *stmt); +#include "nodes/parsenodes.h" +#include "utils/rel.h" -extern List *get_indexattr_list(Relation OldHeap, Oid OldIndex); -extern void rebuild_rel(Oid tableOid, Oid indexOid, - List *indexes, bool dataCopy); +extern void cluster(ClusterStmt *stmt); + +extern void rebuild_relation(Relation OldHeap, Oid indexOid); #endif /* CLUSTER_H */ |