Re: [HACKERS] Why do index access methods use LP_DELETE?

2005-08-11 Thread ITAGAKI Takahiro
Tom Lane <[EMAIL PROTECTED]> wrote: > > Why do index access methods use LP_DELETE? > > My recollection is that I deliberately used LP_DELETE for the > known-dead-tuple marker so that there couldn't be any confusion with > the use of LP_USED. AFAIR, LP_USED isn't actually used in indexes, > so we

Re: [HACKERS] Why do index access methods use LP_DELETE?

2005-08-11 Thread Tom Lane
ITAGAKI Takahiro <[EMAIL PROTECTED]> writes: > Why do index access methods use LP_DELETE? My recollection is that I deliberately used LP_DELETE for the known-dead-tuple marker so that there couldn't be any confusion with the use of LP_USED. AFAIR, LP_USED isn't actually used in indexes, so we cou

[HACKERS] Why do index access methods use LP_DELETE?

2005-08-11 Thread ITAGAKI Takahiro
Hi Hackers, I found index access methods use LP_DELETE for invisible tuples, but it seems to be ok to remove LP_USED instead of adding LP_DELETE. I tried the following simple replacements: - '|= LP_DELETE' => '&= ~LP_USED' - 'ItemIdDeleted' => '!ItemIdIsUsed' and then, it passed all regressio