summaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorTatsuo Ishii2002-07-11 07:39:28 +0000
committerTatsuo Ishii2002-07-11 07:39:28 +0000
commitfcc962566a7cf0461778c97ef713fa4855303dfe (patch)
tree507fb3d31a7cba6a6258b40ec5c9364f3ec9a3a6 /src/include/commands
parentf2bb1cfa85eba18b185c8883a8da6077f7888ec2 (diff)
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/include/commands')
-rw-r--r--src/include/commands/conversioncmds.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/commands/conversioncmds.h b/src/include/commands/conversioncmds.h
new file mode 100644
index 00000000000..fc4e5e6f51b
--- /dev/null
+++ b/src/include/commands/conversioncmds.h
@@ -0,0 +1,23 @@
+/*-------------------------------------------------------------------------
+ *
+ * conversioncmds.h
+ * prototypes for conversioncmds.c.
+ *
+ *
+ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: conversioncmds.h,v 1.1 2002/07/11 07:39:27 ishii Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#ifndef CONVERSIONCMDS_H
+#define CONVERSIONCMDS_H
+
+#include "nodes/parsenodes.h"
+
+extern void CreateConversionCommand(CreateConversionStmt *parsetree);
+extern void DropConversionCommand(List *conversion_name);
+
+#endif /* CONVERSIONCMDS_H */