diff options
author | Bruce Momjian | 2002-04-11 23:20:04 +0000 |
---|---|---|
committer | Bruce Momjian | 2002-04-11 23:20:04 +0000 |
commit | 9180c3412fc3b224bc8cad4daa79fd0d90c7e8b7 (patch) | |
tree | 85ca10a4a8b7ed9637d74bba2445954909c58e73 /src/backend/commands/command.c | |
parent | fc330ce7269676277befa9822b173212ed821801 (diff) |
Add mention of function CREATE INDEX usage.
Diffstat (limited to 'src/backend/commands/command.c')
-rw-r--r-- | src/backend/commands/command.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index 8eb27de63a..23e8248ba6 100644 --- a/src/backend/commands/command.c +++ b/src/backend/commands/command.c @@ -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 */ |