/*-------------------------------------------------------------------------
*
- * hio.h--
- * POSTGRES heap access method input/output definitions.
+ * hio.h
+ * POSTGRES heap access method input/output definitions.
*
*
- * Copyright (c) 1994, Regents of the University of California
+ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: hio.h,v 1.2 1996/10/31 09:46:38 scrappy Exp $
+ * $PostgreSQL: pgsql/src/include/access/hio.h,v 1.33 2006/10/04 00:30:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
-#ifndef HIO_H
+#ifndef HIO_H
#define HIO_H
-
-#include "storage/block.h"
#include "access/htup.h"
#include "utils/rel.h"
+#include "storage/buf.h"
-extern void RelationPutHeapTuple(Relation relation, BlockNumber blockIndex,
- HeapTuple tuple);
-extern void RelationPutHeapTupleAtEnd(Relation relation, HeapTuple tuple);
+extern void RelationPutHeapTuple(Relation relation, Buffer buffer,
+ HeapTuple tuple);
+extern Buffer RelationGetBufferForTuple(Relation relation, Size len,
+ Buffer otherBuffer, bool use_fsm);
-#endif /* HIO_H */
+#endif /* HIO_H */