diff options
author | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-01-06 05:31:14 +0000 |
---|---|---|
committer | Itagaki Takahiro <itagaki.takahiro@gmail.com> | 2010-01-06 05:31:14 +0000 |
commit | 946cf229e89fda779161d707f3ba1f4d3cd024a1 (patch) | |
tree | 9fc0f7018b101fd1daf84ea2c819a3156de7f07c /src/include/commands/cluster.h | |
parent | 28f6cab61ab8958b1a7dfb019724687d92722538 (diff) |
Support rewritten-based full vacuum as VACUUM FULL. Traditional
VACUUM FULL was renamed to VACUUM FULL INPLACE. Also added a new
option -i, --inplace for vacuumdb to perform FULL INPLACE vacuuming.
Since the new VACUUM FULL uses CLUSTER infrastructure, we cannot
use it for system tables. VACUUM FULL for system tables always
fall back into VACUUM FULL INPLACE silently.
Itagaki Takahiro, reviewed by Jeff Davis and Simon Riggs.
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 dd7a1caf101..c58013c6403 100644 --- a/src/include/commands/cluster.h +++ b/src/include/commands/cluster.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994-5, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/commands/cluster.h,v 1.37 2010/01/02 16:58:03 momjian Exp $ + * $PostgreSQL: pgsql/src/include/commands/cluster.h,v 1.38 2010/01/06 05:31:14 itagaki Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,8 @@ extern void cluster(ClusterStmt *stmt, bool isTopLevel); - +extern void cluster_rel(Oid tableOid, Oid indexOid, bool recheck, + bool verbose, int freeze_min_age, int freeze_table_age); extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid, bool recheck); extern void mark_index_clustered(Relation rel, Oid indexOid); |