1999-12-21 01:06:44 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* tuptoaster.h
|
|
|
|
* POSTGRES definitions for external and compressed storage
|
2000-04-12 19:17:23 +02:00
|
|
|
* of variable size attributes.
|
1999-12-21 01:06:44 +01:00
|
|
|
*
|
|
|
|
* Copyright (c) 2000, PostgreSQL Development Team
|
|
|
|
*
|
2000-04-12 19:17:23 +02:00
|
|
|
* $Id: tuptoaster.h,v 1.2 2000/04/12 17:16:26 momjian Exp $
|
1999-12-21 01:06:44 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#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"
|
|
|
|
|
|
|
|
|
2000-04-12 19:17:23 +02:00
|
|
|
extern void heap_tuple_toast_attrs(Relation rel,
|
|
|
|
HeapTuple newtup, HeapTuple oldtup);
|
1999-12-21 01:06:44 +01:00
|
|
|
|
2000-04-12 19:17:23 +02:00
|
|
|
extern varattrib *heap_tuple_untoast_attr(varattrib * attr);
|
1999-12-21 01:06:44 +01:00
|
|
|
|
2000-04-12 19:17:23 +02:00
|
|
|
#endif /* TUPLE_TOASTER_ACTIVE */
|
1999-12-21 01:06:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* TUPTOASTER_H */
|