7
7
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
8
8
* Portions Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.118 2010/01/02 16:58:10 momjian Exp $
10
+ * $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.119 2010/01/10 22:19:17 tgl Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -134,9 +134,6 @@ typedef struct RelationData
134
134
bool rd_isvalid ; /* relcache entry is valid */
135
135
char rd_indexvalid ; /* state of rd_indexlist: 0 = not valid, 1 =
136
136
* valid, 2 = temporarily forced */
137
- SubTransactionId rd_createSubid ; /* rel was created in current xact */
138
- SubTransactionId rd_newRelfilenodeSubid ; /* new relfilenode assigned in
139
- * current xact */
140
137
141
138
/*
142
139
* rd_createSubid is the ID of the highest subtransaction the rel has
@@ -147,6 +144,10 @@ typedef struct RelationData
147
144
* subtransaction the relfilenode change has survived into, or zero if not
148
145
* changed in the current transaction (or we have forgotten changing it).
149
146
*/
147
+ SubTransactionId rd_createSubid ; /* rel was created in current xact */
148
+ SubTransactionId rd_newRelfilenodeSubid ; /* new relfilenode assigned in
149
+ * current xact */
150
+
150
151
Form_pg_class rd_rel ; /* RELATION tuple */
151
152
TupleDesc rd_att ; /* tuple descriptor */
152
153
Oid rd_id ; /* relation's object id */
@@ -167,8 +168,8 @@ typedef struct RelationData
167
168
168
169
/* These are non-NULL only for an index relation: */
169
170
Form_pg_index rd_index ; /* pg_index tuple describing this index */
171
+ /* use "struct" here to avoid needing to include htup.h: */
170
172
struct HeapTupleData * rd_indextuple ; /* all of pg_index tuple */
171
- /* "struct HeapTupleData *" avoids need to include htup.h here */
172
173
Form_pg_am rd_am ; /* pg_am tuple for index's AM */
173
174
174
175
/*
0 commit comments