diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-27 19:11:46 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-08-27 19:11:46 +0000 |
commit | ca1fd0ea5b10e133a3ed00594fa908d5b647fa3d (patch) | |
tree | 5e8401e07bcd4b5cdfcd1a2ceb86c5f0665ba189 /src/backend/access/transam/xact.c | |
parent | 99a5619e7b39938eb72bb57576495a27e27f5ee6 (diff) | |
download | postgresql-ca1fd0ea5b10e133a3ed00594fa908d5b647fa3d.tar.gz postgresql-ca1fd0ea5b10e133a3ed00594fa908d5b647fa3d.zip |
Move xact.c's partial support for Lists of TransactionIds into pg_list.h.
Needed because lock.c is now going to use the same type of list.
Diffstat (limited to 'src/backend/access/transam/xact.c')
-rw-r--r-- | src/backend/access/transam/xact.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index 81c2583571a..6fda0ce1f97 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.225 2006/07/30 02:07:18 alvherre Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/xact.c,v 1.226 2006/08/27 19:11:46 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -126,14 +126,6 @@ typedef struct TransactionStateData typedef TransactionStateData *TransactionState; /* - * childXids is currently implemented as an Oid List, relying on the - * assumption that TransactionIds are no wider than Oid. We use these - * macros to provide some isolation in case that changes in the future. - */ -#define lfirst_xid(lc) ((TransactionId) lfirst_oid(lc)) -#define lappend_xid(list, datum) lappend_oid(list, (Oid) (datum)) - -/* * CurrentTransactionState always points to the current transaction state * block. It will point to TopTransactionStateData when not in a * transaction at all, or when in a top-level transaction. |