Re: Fix for regression caused by heap tuple header changes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Manfred Koizar <mkoi-pg(at)aon(dot)at>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix for regression caused by heap tuple header changes
Date: 2002-07-20 04:58:35
Message-ID: 200207200458.g6K4wZA15746@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-07-20 04:59:14 Re: minor GEQO fixes
Previous Message Neil Conway 2002-07-20 04:42:22 default attstattarget