summaryrefslogtreecommitdiff
path: root/src/backend/tcop/utility.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/tcop/utility.c')
-rw-r--r--src/backend/tcop/utility.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c
index f5c38d071ed..e5e57d4a6de 100644
--- a/src/backend/tcop/utility.c
+++ b/src/backend/tcop/utility.c
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.160 2002/07/01 15:27:56 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.161 2002/07/11 07:39:26 ishii Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,6 +24,7 @@
#include "commands/cluster.h"
#include "commands/comment.h"
#include "commands/copy.h"
+#include "commands/conversioncmds.h"
#include "commands/dbcommands.h"
#include "commands/defrem.h"
#include "commands/explain.h"
@@ -319,6 +320,11 @@ ProcessUtility(Node *parsetree,
/* RemoveDomain does its own permissions checks */
RemoveDomain(names, stmt->behavior);
break;
+
+ case DROP_CONVERSION:
+ /* RemoveDomain does its own permissions checks */
+ DropConversionCommand(names);
+ break;
}
/*
@@ -823,6 +829,12 @@ ProcessUtility(Node *parsetree,
}
break;
+ case T_CreateConversionStmt:
+ {
+ CreateConversionCommand((CreateConversionStmt *) parsetree);
+ }
+ break;
+
default:
elog(ERROR, "ProcessUtility: command #%d unsupported",
nodeTag(parsetree));