From fcc962566a7cf0461778c97ef713fa4855303dfe Mon Sep 17 00:00:00 2001 From: Tatsuo Ishii Date: Thu, 11 Jul 2002 07:39:28 +0000 Subject: 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. --- src/backend/tcop/postgres.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/backend/tcop/postgres.c') 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)); -- cgit v1.2.3