Re: Representation of redirected line pointers in HOT - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: Representation of redirected line pointers in HOT
Date
Msg-id 2e78013d0709122039p30625abage94ce9d6fd3bbcd2@mail.gmail.com
Whole thread Raw
In response to Representation of redirected line pointers in HOT  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Representation of redirected line pointers in HOT
List pgsql-hackers


On 9/13/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:

What I'm thinking is that we should instead do this by extending the use
of the lp_flags field.  lp_flags is two bits, which we currently define
as independent LP_USED and LP_DELETE bits, but in fact LP_DELETE is
never used in heap pages.  (It is used in indexes.)  I propose that
we redefine lp_flags as having four states, say

        LP_UNUSED       0
        LP_NORMAL       1
        LP_REDIRECT     2
        LP_DEAD         3


Sounds good to me. I saw you committed this change. Do you want me
to update HOT patch to use this or you are already doing that ?


Thanks,
Pavan

--
Pavan Deolasee
EnterpriseDB     http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Representation of redirected line pointers in HOT
Next
From: Bruce Momjian
Date:
Subject: Re: New Zealand - TZ change