This patch wraps all accesses to t_xmin, t_cmin, t_xmax, and t_cmax in
HeapTupleHeaderData in setter and getter macros called
HeapTupleHeaderGetXmin, HeapTupleHeaderSetXmin etc.
It also introduces a "virtual" field xvac by defining
HeapTupleHeaderGetXvac and HeapTupleHeaderSetXvac. Xvac is used by
VACUUM, in fact it is stored in t_cmin.
This patch doesn't change any behaviour, it just (hopefully) makes the
source code more readable. It is meant as a first step toward an
upcoming change in HeapTupleHeader, which will reduce on-disk tuple
size by four bytes.
Regression tests have been passed (except geometry, which always fails
on my machine). Please apply this patch (after my bitmaplen patch)
It worked for 7.2 before I updated my cvs HEAD revision and recreated
the patch. If cosmetic changes are wanted for 7.2, I'll make a 7.2
pgsql-patches by date
|Next:||From: Joe Conway||Date: 2002-05-12 03:28:58|
|Subject: Re: Set Returning Functions (SRF) - request for patch review|
|Previous:||From: Ian Barwick||Date: 2002-05-11 16:01:46|
|Subject: Re: Set Returning Functions (SRF) - request for patch review and comment|