aboutsummaryrefslogtreecommitdiff
path: root/src/include/catalog/namespace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/catalog/namespace.h')
-rw-r--r--src/include/catalog/namespace.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/include/catalog/namespace.h b/src/include/catalog/namespace.h
new file mode 100644
index 00000000000..cbe65a07f55
--- /dev/null
+++ b/src/include/catalog/namespace.h
@@ -0,0 +1,26 @@
+/*-------------------------------------------------------------------------
+ *
+ * namespace.h
+ * prototypes for functions in backend/catalog/namespace.c
+ *
+ *
+ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: namespace.h,v 1.1 2002/03/26 19:16:28 tgl Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef NAMESPACE_H
+#define NAMESPACE_H
+
+#include "nodes/primnodes.h"
+
+
+extern Oid RangeVarGetRelid(const RangeVar *relation, bool failOK);
+
+extern Oid RangeVarGetCreationNamespace(const RangeVar *newRelation);
+
+extern Oid RelnameGetRelid(const char *relname);
+
+#endif /* NAMESPACE_H */