home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / postgres / postgre3.z / postgre3 / src / lib / H / access / hio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-27  |  1.1 KB  |  57 lines

  1. /*
  2.  * hio.h --
  3.  *    POSTGRES heap access method input/output definitions.
  4.  *
  5.  * Note:
  6.  *    XXX This file should be moved to heap/.
  7.  *
  8.  * Identification:
  9.  *    $Header: /private/postgres/src/lib/H/access/RCS/hio.h,v 1.5 1990/08/17 08:50:46 cimarron Exp $
  10.  */
  11.  
  12. #ifndef    HIOIncluded    /* Include this file only once */
  13. #define HIOIncluded    1
  14.  
  15. #include "tmp/c.h"
  16.  
  17. #include "storage/block.h"
  18. #include "access/htup.h"
  19. #include "utils/rel.h"
  20.  
  21. /*
  22.  * RelationPutHeapTuple --
  23.  *    Places a heap tuple in a specified disk block.
  24.  *
  25.  * Note:
  26.  *    Assumes relation is valid.
  27.  *    Assumes tuple is valid.
  28.  *    Assumes block number is valid.
  29.  *    Assumes tuple will fit in the disk block.
  30.  */
  31. extern
  32. void
  33. RelationPutHeapTuple ARGS((
  34.     Relation    relation,
  35.     BlockNumber    blockIndex,
  36.     HeapTuple    tuple
  37. ));
  38.  
  39. /*
  40.  * RelationPutLongHeapTuple --
  41.  *    Places a long heap tuple in a relation.
  42.  *
  43.  * Note:
  44.  *    Assumes relation is valid.
  45.  *    Assumes tuple is valid.
  46.  *    Assumes block number is valid.
  47.  *    Assumes tuple will not fit into a disk block.
  48.  */
  49. extern
  50. void
  51. RelationPutLongHeapTuple ARGS((
  52.     Relation    relation,
  53.     HeapTuple    tuple
  54. ));
  55.  
  56. #endif    /* !defined(HIOIncluded) */
  57.