diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-04-11 23:20:04 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-04-11 23:20:04 +0000 |
commit | 50b5d4bf76f1b9b62d1127dca1f28d09f9657afa (patch) | |
tree | 828c7696ab408a625da8ad267ff421a7d17f0130 /src/backend/commands/command.c | |
parent | 0c9790e616429a1af444b9839ba6dc967d7f4292 (diff) | |
download | postgresql-50b5d4bf76f1b9b62d1127dca1f28d09f9657afa.tar.gz postgresql-50b5d4bf76f1b9b62d1127dca1f28d09f9657afa.zip |
Add mention of function CREATE INDEX usage.
Diffstat (limited to 'src/backend/commands/command.c')
-rw-r--r-- | src/backend/commands/command.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index b230e2cd4f7..c74d24cf7a5 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.172 2002/04/02 08:51:50 inoue Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.173 2002/04/11 23:20:04 momjian Exp $ * * NOTES * The PerformAddAttribute() code, like most of the relation @@ -604,10 +604,10 @@ AlterTableAlterColumnDropNotNull(Oid myrelid, elog(ERROR, "ALTER TABLE: Cannot alter system attribute \"%s\"", colName); - /* + /* * Check that the attribute is not in a primary key */ - + /* Loop over all indices on the relation */ indexoidlist = RelationGetIndexList(rel); @@ -986,9 +986,9 @@ AlterTableAlterColumnFlags(Oid myrelid, elog(ERROR, "ALTER TABLE: relation \"%s\" is not a table", RelationGetRelationName(rel)); - /* + /* * we allow statistics case for system tables - */ + */ if (*flagType != 'S' && !allowSystemTableMods && IsSystemRelationName(RelationGetRelationName(rel))) @@ -1911,7 +1911,7 @@ LockTableCommand(LockStmt *lockstmt) /* * CREATE SCHEMA */ -void +void CreateSchemaCommand(CreateSchemaStmt *stmt) { const char *schemaName = stmt->schemaname; @@ -1976,13 +1976,13 @@ CreateSchemaCommand(CreateSchemaStmt *stmt) Node *parsetree = (Node *) lfirst(parsetree_item); List *querytree_list, *querytree_item; - + querytree_list = parse_analyze(parsetree, NULL); - + foreach(querytree_item, querytree_list) { Query *querytree = (Query *) lfirst(querytree_item); - + /* schemas should contain only utility stmts */ Assert(querytree->commandType == CMD_UTILITY); /* do this step */ |