Re: Fix for regression caused by heap tuple header changes - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Fix for regression caused by heap tuple header changes
Date
Msg-id 200207200458.g6K4wZA15746@candle.pha.pa.us
Whole thread Raw
In response to Fix for regression caused by heap tuple header changes  (Manfred Koizar <mkoi-pg@aon.at>)
List pgsql-patches
Patch applied.  Thanks.

---------------------------------------------------------------------------


Manfred Koizar wrote:
> This patch fixes a regression caused by my recent changes to heap
> tuple header.  The fix is based on the thought that HEAP_MOVED_IN is
> not needed any more as soon as HEAP_XMIN_COMMITTED has been set.  So
> in tqual.c and vacuum.c the HEAP_MOVED bits are cleared when
> HEAP_XMIN_COMMITTED is set.
>
> Vacuum robustness is enhanced by rearranging ifs, so that we have a
> chance to elog(ERROR, ...) before an assertion fails.
>
> A new regression test is included.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-patches by date:

Previous
From: nconway@klamath.dyndns.org (Neil Conway)
Date:
Subject: default attstattarget
Next
From: Bruce Momjian
Date:
Subject: Re: minor GEQO fixes