diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2002-07-11 07:39:28 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2002-07-11 07:39:28 +0000 |
commit | fcc962566a7cf0461778c97ef713fa4855303dfe (patch) | |
tree | 507fb3d31a7cba6a6258b40ec5c9364f3ec9a3a6 /src/backend/tcop/postgres.c | |
parent | f2bb1cfa85eba18b185c8883a8da6077f7888ec2 (diff) | |
download | postgresql-fcc962566a7cf0461778c97ef713fa4855303dfe.tar.gz postgresql-fcc962566a7cf0461778c97ef713fa4855303dfe.zip |
Add new CREATE CONVERSION/DROP CONVERSION command.
This is the first cut toward CREATE CONVERSION/DROP CONVERSION implementaion.
The commands can now add/remove tuples to the new pg_conversion system
catalog, but that's all. Still need work to make them actually working.
Documentations, regression tests also need work.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index a8f83e48e4d..c6b8fcfafd6 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.268 2002/06/20 20:29:36 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.269 2002/07/11 07:39:26 ishii Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1688,7 +1688,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.268 $ $Date: 2002/06/20 20:29:36 $\n"); + puts("$Revision: 1.269 $ $Date: 2002/07/11 07:39:26 $\n"); } /* @@ -2211,6 +2211,9 @@ CreateCommandTag(Node *parsetree) case DROP_DOMAIN: tag = "DROP DOMAIN"; break; + case DROP_CONVERSION: + tag = "DROP CONVERSON"; + break; default: tag = "???"; } @@ -2426,6 +2429,10 @@ CreateCommandTag(Node *parsetree) tag = "REINDEX"; break; + case T_CreateConversionStmt: + tag = "CREATE CONVERSION"; + break; + default: elog(LOG, "CreateCommandTag: unknown parse node type %d", nodeTag(parsetree)); |