diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-05-10 13:16:26 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-05-10 13:16:26 +0000 |
commit | a4dde3bff36dac1ac0b699becad6f103d861a874 (patch) | |
tree | b6b8c75c99a927377c455008ea7657936bec90f6 /src/include/commands/cluster.h | |
parent | dc5ebcfcce73228a164649fd24bfcd3d3830d61f (diff) |
Report index name on CLUSTER failure. Also, suggest ALTER TABLE
WITHOUT CLUSTER for cluster failure of a single table in a full db
cluster.
Diffstat (limited to 'src/include/commands/cluster.h')
-rw-r--r-- | src/include/commands/cluster.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/commands/cluster.h b/src/include/commands/cluster.h index 7a72ee6dcbb..382e2bcadfe 100644 --- a/src/include/commands/cluster.h +++ b/src/include/commands/cluster.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994-5, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/cluster.h,v 1.27 2004/12/31 22:03:28 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/commands/cluster.h,v 1.28 2005/05/10 13:16:26 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -19,7 +19,8 @@ extern void cluster(ClusterStmt *stmt); -extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid); +extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid, + bool recheck); extern void mark_index_clustered(Relation rel, Oid indexOid); extern Oid make_new_heap(Oid OIDOldHeap, const char *NewName, Oid NewTableSpace); |