Re: Why do index access methods use LP_DELETE? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why do index access methods use LP_DELETE?
Date
Msg-id 12230.1123812893@sss.pgh.pa.us
Whole thread Raw
In response to Why do index access methods use LP_DELETE?  (ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>)
Responses Re: Why do index access methods use LP_DELETE?  (ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp>)
List pgsql-hackers
ITAGAKI Takahiro <itagaki.takahiro@lab.ntt.co.jp> 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 could do it differently if there were another possible use for
the flag bit ... have you got one in mind?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: data on devel code perf dip
Next
From: Bruce Momjian
Date:
Subject: ereport(ERROR) and files