77 * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
88 * Portions Copyright (c) 1994, Regents of the University of California
99 *
10- * $Id: transam.h,v 1.32 2001/03/22 04:00:31 momjian Exp $
10+ * $Id: transam.h,v 1.33 2001/05/14 20:30:21 momjian Exp $
1111 *
1212 * NOTES
1313 *Transaction System Version 101 now support proper oid
@@ -91,38 +91,6 @@ typedef struct LogRelationContentsData
9191
9292typedef LogRelationContentsData * LogRelationContents ;
9393
94- /* ----------------
95- *VariableRelationContents structure
96- *
97- *The variable relation is a special "relation" which
98- *is used to store various system "variables" persistantly.
99- *Unlike other relations in the system, this relation
100- *is updated in place whenever the variables change.
101- *
102- *The first 4 bytes of this relation store the version
103- *number of the transaction system.
104- *
105- *Currently, the relation has only one page and the next
106- *available xid, the last committed xid and the next
107- *available oid are stored there.
108- *
109- *XXX As of 7.1, pg_variable isn't used anymore; this is dead code.
110- * ----------------
111- */
112- #ifdef NOT_USED
113- typedef struct VariableRelationContentsData
114- {
115- XLogRecPtr LSN ;
116- int TransSystemVersion ;
117- TransactionId nextXidData ;
118- TransactionId lastXidData ;/* unused */
119- Oid nextOid ;
120- }VariableRelationContentsData ;
121-
122- typedef VariableRelationContentsData * VariableRelationContents ;
123-
124- #endif /* NOT_USED */
125-
12694/*
12795 * VariableCache is placed in shmem and used by
12896 * backends to get next available XID & OID.
@@ -161,7 +129,6 @@ extern void TransBlockNumberSetXidStatus(Relation relation,
161129bool * failP );
162130
163131/* in transam/varsup.c */
164- extern void VariableRelationPutNextXid (TransactionId xid );
165132extern void GetNewTransactionId (TransactionId * xid );
166133extern void ReadNewTransactionId (TransactionId * xid );
167134extern void GetNewObjectId (Oid * oid_return );
@@ -174,7 +141,6 @@ extern void CheckMaxObjectId(Oid assigned_oid);
174141
175142/* in transam.c */
176143extern Relation LogRelation ;
177- extern Relation VariableRelation ;
178144
179145extern TransactionId cachedTestXid ;
180146extern XidStatus cachedTestXidStatus ;