aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands
diff options
context:
space:
mode:
authorHiroshi Inoue <inoue@tpf.co.jp>2000-12-08 06:17:58 +0000
committerHiroshi Inoue <inoue@tpf.co.jp>2000-12-08 06:17:58 +0000
commitd7892e026396cffb19ebb760fcd12f966054294b (patch)
tree4d8b41da2e587c1ce7895efbf023ca59527f9f35 /src/backend/commands
parent8d7c0851a3d6a69030a29cadea74b5eeeaf3b8a6 (diff)
downloadpostgresql-d7892e026396cffb19ebb760fcd12f966054294b.tar.gz
postgresql-d7892e026396cffb19ebb760fcd12f966054294b.zip
REINDEX under WAL.
Diffstat (limited to 'src/backend/commands')
-rw-r--r--src/backend/commands/indexcmds.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c
index 788701b20fe..8e362399d82 100644
--- a/src/backend/commands/indexcmds.c
+++ b/src/backend/commands/indexcmds.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.41 2000/11/16 22:30:18 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.42 2000/12/08 06:17:58 inoue Exp $
*
*-------------------------------------------------------------------------
*/
@@ -653,7 +653,11 @@ ReindexIndex(const char *name, bool force /* currently unused */ )
elog(ERROR, "relation \"%s\" is of type \"%c\"",
name, ((Form_pg_class) GETSTRUCT(tuple))->relkind);
- if (!reindex_index(tuple->t_data->t_oid, force))
+#ifdef OLD_FILE_NAMING
+ if (!reindex_index(tuple->t_data->t_oid, force, false))
+#else
+ if (!reindex_index(tuple->t_data->t_oid, force, false))
+#endif /* OLD_FILE_NAMING */
elog(NOTICE, "index \"%s\" wasn't reindexed", name);
ReleaseSysCache(tuple);