aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/temprel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/temprel.h')
-rw-r--r--src/include/utils/temprel.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/utils/temprel.h b/src/include/utils/temprel.h
new file mode 100644
index 00000000000..135f28c8ad0
--- /dev/null
+++ b/src/include/utils/temprel.h
@@ -0,0 +1,25 @@
+/*-------------------------------------------------------------------------
+ *
+ * temprel.h--
+ * Temporary relation functions
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: temprel.h,v 1.1 1999/02/02 03:45:28 momjian Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef TEMPREL_H
+#define TEMPREL_H
+
+#include "access/htup.h"
+#include "access/attnum.h"
+
+void create_temp_relation(char *relname, HeapTuple pg_class_tuple);
+void remove_all_temp_relations(void);
+void remove_temp_relation(Oid relid);
+HeapTuple get_temp_rel_by_name(char *user_relname);
+
+#endif /* TEMPREL_H */
+