summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorTom Lane2002-03-21 16:02:16 +0000
committerTom Lane2002-03-21 16:02:16 +0000
commit9350f521ed4770eee43a501456a1d21622d19319 (patch)
treeb446096058d3a22d7d64c235554f94940a582b80 /src/backend/tcop/postgres.c
parent0e5572d9f0e1a4066f7b1b9795629cbd295c041d (diff)
First phase of SCHEMA changes, concentrating on fixing the grammar and
the parsetree representation. As yet we don't *do* anything with schema names, just drop 'em on the floor; but you can enter schema-compatible command syntax, and there's even a primitive CREATE SCHEMA command. No doc updates yet, except to note that you can now extract a field from a function-returning-row's result with (foo(...)).fieldname.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 63120082b7..ad0f291255 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -1722,7 +1722,7 @@ PostgresMain(int argc, char *argv[], const char *username)
if (!IsUnderPostmaster)
{
puts("\nPOSTGRES backend interactive interface ");
- puts("$Revision: 1.257 $ $Date: 2002/03/19 16:10:48 $\n");
+ puts("$Revision: 1.258 $ $Date: 2002/03/21 16:01:25 $\n");
}
/*
@@ -2216,6 +2216,10 @@ CreateCommandTag(Node *parsetree)
tag = "CREATE DOMAIN";
break;
+ case T_CreateSchemaStmt:
+ tag = "CREATE";
+ break;
+
case T_CreateStmt:
tag = "CREATE";
break;