9696 * Portions Copyright (c) 1994-5, Regents of the University of California
9797 *
9898 * IDENTIFICATION
99- * $PostgreSQL: pgsql/src/backend/access/heap/rewriteheap.c,v 1.8 2007/11/1521:14:32 momjian Exp $
99+ * $PostgreSQL: pgsql/src/backend/access/heap/rewriteheap.c,v 1.9 2007/11/1522:25:15 momjian Exp $
100100 *
101101 *-------------------------------------------------------------------------
102102 */
@@ -129,7 +129,7 @@ typedef struct RewriteStateData
129129 * them */
130130HTAB * rs_unresolved_tups ;/* unmatched A tuples */
131131HTAB * rs_old_new_tid_map ;/* unmatched B tuples */
132- }RewriteStateData ;
132+ }RewriteStateData ;
133133
134134/*
135135 * The lookup keys for the hash tables are tuple TID and xmin (we must check
@@ -141,7 +141,7 @@ typedef struct
141141{
142142TransactionId xmin ;/* tuple xmin */
143143ItemPointerData tid ;/* tuple location in old heap */
144- }TidHashKey ;
144+ }TidHashKey ;
145145
146146/*
147147 * Entry structures for the hash tables
@@ -151,15 +151,15 @@ typedef struct
151151TidHashKey key ;/* expected xmin/old location of B tuple */
152152ItemPointerData old_tid ;/* A's location in the old heap */
153153HeapTuple tuple ;/* A's tuple contents */
154- }UnresolvedTupData ;
154+ }UnresolvedTupData ;
155155
156156typedef UnresolvedTupData * UnresolvedTup ;
157157
158158typedef struct
159159{
160160TidHashKey key ;/* actual xmin/old location of B tuple */
161161ItemPointerData new_tid ;/* where we put it in the new heap */
162- }OldToNewMappingData ;
162+ }OldToNewMappingData ;
163163
164164typedef OldToNewMappingData * OldToNewMapping ;
165165
@@ -425,8 +425,8 @@ rewrite_heap_tuple(RewriteState state,
425425 * If the tuple is the updated version of a row, and the prior version
426426 * wouldn't be DEAD yet, then we need to either resolve the prior
427427 * version (if it's waiting in rs_unresolved_tups), or make an entry
428- * in rs_old_new_tid_map (so we can resolve it when we do see it).
429- *The previous tuple's xmax would equal this one's xmin, so it's
428+ * in rs_old_new_tid_map (so we can resolve it when we do see it). The
429+ * previous tuple's xmax would equal this one's xmin, so it's
430430 * RECENTLY_DEAD if and only if the xmin is not before OldestXmin.
431431 */
432432if ((new_tuple -> t_data -> t_infomask & HEAP_UPDATED )&&