diff options
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 */ |