Re: Representation of redirected line pointers in HOT

From: "Pavan Deolasee" <pavan(dot)deolasee(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Representation of redirected line pointers in HOT
Date: 2007-09-13 03:39:24
Message-ID: 2e78013d0709122039p30625abage94ce9d6fd3bbcd2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9/13/07, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-09-13 03:43:22 Re: [HACKERS] New Zealand - TZ change
Previous Message Tom Lane 2007-09-12 22:46:53 Re: Representation of redirected line pointers in HOT