1999-12-21 01:06:44 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* tuptoaster.c
|
|
|
|
* Support routines for external and compressed storage of
|
2000-04-12 19:17:23 +02:00
|
|
|
* variable size attributes.
|
1999-12-21 01:06:44 +01:00
|
|
|
*
|
2000-01-20 22:51:09 +01:00
|
|
|
* Copyright (c) 2000, PostgreSQL Global Development Group
|
1999-12-21 01:06:44 +01:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* IDENTIFICATION
|
2000-05-30 02:49:57 +02:00
|
|
|
* $Header: /cvsroot/pgsql/src/backend/access/heap/tuptoaster.c,v 1.4 2000/05/30 00:49:39 momjian Exp $
|
1999-12-21 01:06:44 +01:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* 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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef TUPLE_TOASTER_ACTIVE
|
|
|
|
|
|
|
|
void
|
2000-04-12 19:17:23 +02:00
|
|
|
heap_tuple_toast_attrs(Relation rel, HeapTuple newtup, HeapTuple oldtup)
|
1999-12-21 01:06:44 +01:00
|
|
|
{
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2000-04-12 19:17:23 +02:00
|
|
|
varattrib *
|
|
|
|
heap_tuple_untoast_attr(varattrib * attr)
|
1999-12-21 01:06:44 +01:00
|
|
|
{
|
|
|
|
elog(ERROR, "heap_tuple_untoast_attr() called");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2000-04-12 19:17:23 +02:00
|
|
|
#endif /* TUPLE_TOASTER_ACTIVE */
|