aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-01-10 22:19:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-01-10 22:19:17 +0000
commit6164b4bc19b002ebc2d58c9feed713fe9f49bdc3 (patch)
tree26eab8a0c6d6faef2d45b7d07d7f2a02bca050ea /src
parent3f7a5183325ab71c12dafd644ade5a3d563f2ae6 (diff)
downloadpostgresql-6164b4bc19b002ebc2d58c9feed713fe9f49bdc3.tar.gz
postgresql-6164b4bc19b002ebc2d58c9feed713fe9f49bdc3.zip
Some trivial adjustments in comments for struct RelationData.
Diffstat (limited to 'src')
-rw-r--r--src/include/utils/rel.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h
index 06ea4005b89..250a127ed31 100644
--- a/src/include/utils/rel.h
+++ b/src/include/utils/rel.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.118 2010/01/02 16:58:10 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/utils/rel.h,v 1.119 2010/01/10 22:19:17 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -134,9 +134,6 @@ typedef struct RelationData
bool rd_isvalid; /* relcache entry is valid */
char rd_indexvalid; /* state of rd_indexlist: 0 = not valid, 1 =
* valid, 2 = temporarily forced */
- SubTransactionId rd_createSubid; /* rel was created in current xact */
- SubTransactionId rd_newRelfilenodeSubid; /* new relfilenode assigned in
- * current xact */
/*
* rd_createSubid is the ID of the highest subtransaction the rel has
@@ -147,6 +144,10 @@ typedef struct RelationData
* subtransaction the relfilenode change has survived into, or zero if not
* changed in the current transaction (or we have forgotten changing it).
*/
+ SubTransactionId rd_createSubid; /* rel was created in current xact */
+ SubTransactionId rd_newRelfilenodeSubid; /* new relfilenode assigned in
+ * current xact */
+
Form_pg_class rd_rel; /* RELATION tuple */
TupleDesc rd_att; /* tuple descriptor */
Oid rd_id; /* relation's object id */
@@ -167,8 +168,8 @@ typedef struct RelationData
/* These are non-NULL only for an index relation: */
Form_pg_index rd_index; /* pg_index tuple describing this index */
+ /* use "struct" here to avoid needing to include htup.h: */
struct HeapTupleData *rd_indextuple; /* all of pg_index tuple */
- /* "struct HeapTupleData *" avoids need to include htup.h here */
Form_pg_am rd_am; /* pg_am tuple for index's AM */
/*