aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/tuptoaster.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access/tuptoaster.h')
-rw-r--r--src/include/access/tuptoaster.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/include/access/tuptoaster.h b/src/include/access/tuptoaster.h
new file mode 100644
index 00000000000..dedc770db22
--- /dev/null
+++ b/src/include/access/tuptoaster.h
@@ -0,0 +1,33 @@
+/*-------------------------------------------------------------------------
+ *
+ * tuptoaster.h
+ * POSTGRES definitions for external and compressed storage
+ * of variable size attributes.
+ *
+ * Copyright (c) 2000, PostgreSQL Development Team
+ *
+ * $Id: tuptoaster.h,v 1.1 1999/12/21 00:06:42 wieck Exp $
+ *
+ *-------------------------------------------------------------------------
+ */
+#ifndef TUPTOASTER_H
+#define TUPTOASTER_H
+
+#ifdef TUPLE_TOASTER_ACTIVE
+
+#include "postgres.h"
+#include "access/heapam.h"
+#include "access/htup.h"
+#include "access/tupmacs.h"
+#include "utils/rel.h"
+
+
+extern void heap_tuple_toast_attrs(Relation rel,
+ HeapTuple newtup, HeapTuple oldtup);
+
+extern varattrib *heap_tuple_untoast_attr(varattrib *attr);
+
+#endif /* TUPLE_TOASTER_ACTIVE */
+
+
+#endif /* TUPTOASTER_H */