7
7
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $Id: htup.h,v 1.37 2000/10/24 09:56:23 vadim Exp $
10
+ * $Id: htup.h,v 1.38 2000/11/14 20:47:34 tgl Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -167,7 +167,7 @@ typedef struct xl_heap_update
167
167
#define TableOidAttributeNumber (-7)
168
168
#define FirstLowInvalidHeapAttributeNumber (-8)
169
169
170
- /* If you make any changes above, the order off offsets in this must change */
170
+ /* If you make any changes above, the order of offsets in this must change */
171
171
extern long heap_sysoffset [];
172
172
173
173
/*
@@ -181,16 +181,16 @@ extern long heap_sysoffset[];
181
181
*
182
182
* Change for 7.0:
183
183
* Up to now t_data could be NULL, the memory location directly following
184
- * HeapTupleData or pointing into a buffer. Now, it could also point to
184
+ * HeapTupleData, or pointing into a buffer. Now, it could also point to
185
185
* a separate allocation that was done in the t_datamcxt memory context.
186
186
*/
187
187
typedef struct HeapTupleData
188
188
{
189
189
uint32 t_len ; /* length of *t_data */
190
190
ItemPointerData t_self ; /* SelfItemPointer */
191
- Oid tableOid ; /* */
192
- MemoryContext t_datamcxt ; /* */
193
- HeapTupleHeader t_data ; /* */
191
+ Oid tableOid ; /* table the tuple came from */
192
+ MemoryContext t_datamcxt ; /* mcxt in which allocated */
193
+ HeapTupleHeader t_data ; /* -> tuple header and data */
194
194
} HeapTupleData ;
195
195
196
196
typedef HeapTupleData * HeapTuple ;
0 commit comments