This patch fixes a regression caused by my recent changes to heap

Bruce Momjian <bruce@momjian.us>

Commit: e77054e0294b5cbb3405fedb29fc9e4c57f2b22f
Author: Bruce Momjian <bruce@momjian.us>
Date: 2002-07-20T04:57:13Z
Releases: 7.3.1
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.

Manfred Koizar

Files