aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/tuptoaster.c
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>1999-12-21 00:06:44 +0000
committerJan Wieck <JanWieck@Yahoo.com>1999-12-21 00:06:44 +0000
commite2aef4969450da69bc759e19f62a2d6caec4a3d9 (patch)
tree1b64627630f068240b58bbe85d5c5edacfb857c3 /src/backend/access/heap/tuptoaster.c
parent2c29c96ed6679861e1e5dec82ac7182549fcde45 (diff)
downloadpostgresql-e2aef4969450da69bc759e19f62a2d6caec4a3d9.tar.gz
postgresql-e2aef4969450da69bc759e19f62a2d6caec4a3d9.zip
Added empty TOASTER files and corrected some minor glitches
in regression tests. Jan
Diffstat (limited to 'src/backend/access/heap/tuptoaster.c')
-rw-r--r--src/backend/access/heap/tuptoaster.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/backend/access/heap/tuptoaster.c b/src/backend/access/heap/tuptoaster.c
new file mode 100644
index 00000000000..c351c4cc177
--- /dev/null
+++ b/src/backend/access/heap/tuptoaster.c
@@ -0,0 +1,46 @@
+/*-------------------------------------------------------------------------
+ *
+ * tuptoaster.c
+ * Support routines for external and compressed storage of
+ * variable size attributes.
+ *
+ * Copyright (c) 2000, PostgreSQL Development Team
+ *
+ *
+ * IDENTIFICATION
+ * $Header: /cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v 1.1 1999/12/21 00:06:40 wieck Exp $
+ *
+ *
+ * INTERFACE ROUTINES
+ * heap_tuple_toast_attrs -
+ * Try to make a given tuple fit into one page by compressing
+ * or moving off attributes
+ *
+ *-------------------------------------------------------------------------
+ */
+
+#include "postgres.h"
+
+#include "access/heapam.h"
+#include "access/tuptoaster.h"
+#include "catalog/catalog.h"
+#include "utils/rel.h"
+
+
+#ifdef TUPLE_TOASTER_ACTIVE
+
+void
+heap_tuple_toast_attrs (Relation rel, HeapTuple newtup, HeapTuple oldtup)
+{
+ return;
+}
+
+
+varattrib *
+heap_tuple_untoast_attr (varattrib *attr)
+{
+ elog(ERROR, "heap_tuple_untoast_attr() called");
+}
+
+
+#endif /* TUPLE_TOASTER_ACTIVE */