summaryrefslogtreecommitdiffstats
path: root/src/include/commands/proclang.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/commands/proclang.h')
-rw-r--r--src/include/commands/proclang.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/commands/proclang.h b/src/include/commands/proclang.h
new file mode 100644
index 0000000..c70f8ec
--- /dev/null
+++ b/src/include/commands/proclang.h
@@ -0,0 +1,24 @@
+/*-------------------------------------------------------------------------
+ *
+ * proclang.h
+ * prototypes for proclang.c.
+ *
+ * Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * src/include/commands/proclang.h
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef PROCLANG_H
+#define PROCLANG_H
+
+#include "catalog/objectaddress.h"
+#include "nodes/parsenodes.h"
+
+extern ObjectAddress CreateProceduralLanguage(CreatePLangStmt *stmt);
+extern void DropProceduralLanguageById(Oid langOid);
+
+extern Oid get_language_oid(const char *langname, bool missing_ok);
+
+#endif /* PROCLANG_H */