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.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/commands/proclang.h b/src/include/commands/proclang.h
new file mode 100644
index 0000000..60d461b
--- /dev/null
+++ b/src/include/commands/proclang.h
@@ -0,0 +1,23 @@
+/*-------------------------------------------------------------------------
+ *
+ * proclang.h
+ * prototypes for proclang.c.
+ *
+ * Portions Copyright (c) 1996-2022, 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 Oid get_language_oid(const char *langname, bool missing_ok);
+
+#endif /* PROCLANG_H */