aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/commands/command.c')
-rw-r--r--src/backend/commands/command.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c
index 4446c9f5cb5..54b913dcac1 100644
--- a/src/backend/commands/command.c
+++ b/src/backend/commands/command.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.108 2000/10/26 21:34:44 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.109 2000/11/08 22:09:57 tgl Exp $
*
* NOTES
* The PerformAddAttribute() code, like most of the relation
@@ -1661,9 +1661,13 @@ AlterTableCreateToastTable(const char *relationName, bool silent)
/*
* Update toast rel's pg_class entry to show that it has an index.
- * NOTE this also does CommandCounterIncrement() to make index visible.
*/
- setRelhasindexInplace(toast_relid, true, false);
+ setRelhasindex(toast_relid, true);
+
+ /*
+ * Make index visible
+ */
+ CommandCounterIncrement();
/*
* Get the OID of the newly created index