|
|
|
@ -96,7 +96,7 @@ |
|
|
|
* Portions Copyright (c) 1994-5, Regents of the University of California |
|
|
|
* Portions Copyright (c) 1994-5, Regents of the University of California |
|
|
|
* |
|
|
|
* |
|
|
|
* IDENTIFICATION |
|
|
|
* IDENTIFICATION |
|
|
|
* $PostgreSQL: pgsql/src/backend/access/heap/rewriteheap.c,v 1.8 2007/11/15 21:14:32 momjian Exp $ |
|
|
|
* $PostgreSQL: pgsql/src/backend/access/heap/rewriteheap.c,v 1.9 2007/11/15 22:25:15 momjian Exp $ |
|
|
|
* |
|
|
|
* |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*------------------------------------------------------------------------- |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@ -425,8 +425,8 @@ rewrite_heap_tuple(RewriteState state, |
|
|
|
* If the tuple is the updated version of a row, and the prior version |
|
|
|
* If the tuple is the updated version of a row, and the prior version |
|
|
|
* wouldn't be DEAD yet, then we need to either resolve the prior |
|
|
|
* wouldn't be DEAD yet, then we need to either resolve the prior |
|
|
|
* version (if it's waiting in rs_unresolved_tups), or make an entry |
|
|
|
* version (if it's waiting in rs_unresolved_tups), or make an entry |
|
|
|
* in rs_old_new_tid_map (so we can resolve it when we do see it). |
|
|
|
* in rs_old_new_tid_map (so we can resolve it when we do see it). The |
|
|
|
* The previous tuple's xmax would equal this one's xmin, so it's |
|
|
|
* previous tuple's xmax would equal this one's xmin, so it's |
|
|
|
* RECENTLY_DEAD if and only if the xmin is not before OldestXmin. |
|
|
|
* RECENTLY_DEAD if and only if the xmin is not before OldestXmin. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
if ((new_tuple->t_data->t_infomask & HEAP_UPDATED) && |
|
|
|
if ((new_tuple->t_data->t_infomask & HEAP_UPDATED) && |
|
|
|
|