Commit f1035012 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Unuseful tuple.t_data->t_infomask & HEAP_XMIN_COMMITTED in

vc_scanheap().
parent fb4f5f7c
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.105 1999/05/29 10:25:30 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.106 1999/06/03 13:25:54 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -818,8 +818,7 @@ vc_scanheap(VRelStats *vacrelstats, Relation onerel, ...@@ -818,8 +818,7 @@ vc_scanheap(VRelStats *vacrelstats, Relation onerel,
* If tuple is recently deleted then we must not remove it * If tuple is recently deleted then we must not remove it
* from relation. * from relation.
*/ */
if (tupgone && tuple.t_data->t_xmax >= XmaxRecent && if (tupgone && tuple.t_data->t_xmax >= XmaxRecent)
tuple.t_data->t_infomask & HEAP_XMIN_COMMITTED)
{ {
tupgone = false; tupgone = false;
nkeep++; nkeep++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment