]> granicus.if.org Git - postgresql/blobdiff - src/include/storage/large_object.h
Hello,
[postgresql] / src / include / storage / large_object.h
index 4aa151844c8c2f8274033d6b6cfe5ba3b9225aac..1157c5dc02e23749aab263660360a5718cd72718 100644 (file)
@@ -8,7 +8,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: large_object.h,v 1.13 2000/01/26 05:58:33 momjian Exp $
+ * $Id: large_object.h,v 1.14 2000/10/08 03:18:57 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 /*
  * This structure will eventually have lots more stuff associated with it.
  */
-typedef struct LargeObjectDesc
-{
-       Relation        heap_r;                 /* heap relation */
-       Relation        index_r;                /* index relation on seqno attribute */
-       IndexScanDesc iscan;            /* index scan we're using */
-       TupleDesc       hdesc;                  /* heap relation tuple desc */
-       TupleDesc       idesc;                  /* index relation tuple desc */
-       uint32          lowbyte;                /* low byte on the current page */
-       uint32          highbyte;               /* high byte on the current page */
+typedef struct LargeObjectDesc {
+       Relation        heap_r;
+       Relation        index_r;
        uint32          offset;                 /* current seek pointer */
-       ItemPointerData htid;           /* tid of current heap tuple */
+       Oid             id;
 
 #define IFS_RDLOCK             (1 << 0)
 #define IFS_WRLOCK             (1 << 1)
@@ -55,7 +49,4 @@ extern int    inv_tell(LargeObjectDesc *obj_desc);
 extern int     inv_read(LargeObjectDesc *obj_desc, char *buf, int nbytes);
 extern int     inv_write(LargeObjectDesc *obj_desc, char *buf, int nbytes);
 
-/* added for buffer leak prevention [ PA ] */
-extern void inv_cleanindex(LargeObjectDesc *obj_desc);
-
 #endif  /* LARGE_OBJECT_H */