Re: Re: Fixes to index pages

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Re: Fixes to index pages
Date: 2001-02-22 01:19:14
Message-ID: 3A946912.428013F9@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian wrote:
>
> > Bruce Momjian wrote:
> > >
> > > > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > > > > Tom, here are the changes I was thinking about to clean up a few areas
> > > > > in index pages tables. I will hold the patch until 7.2.
> > > >
> > > > What happened to our discussion about keeping t_info bit 13 unused??
> > >
> > > I wasn't going to reserve it in the patch. I figured I would make all
> > > the items/flags match, and if someone wants to reserve it, it is easy to
> > > do in one place. I imagine 7.2 is going to be dump/reload anyway so the
> > > decision can be made during development cycle. I basically didn't want
> > > to leave a bit gap and leave it unnamed because it could cause
> > > confusion.
> > >
> >
> > You have added the following TODO recently.
> > * Add deleted bit to index tuples to reduce heap access
> >
> > Where would you have the deleted bit in IndexTupleData ?
>
> Wow, seems like everyone liked the deleted bit idea. :-)
>
> I would put it in bit 13. I would adjust the bit masks in the itup.h
> file. I assume you are asking why I don't do it in the patch,

I don't think it's a good idea to fill bit 13 by force.
There's only 1 bit unused. IMHO there must be a discussion
about how to use the bit.

Regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-02-22 02:14:46 Re: Re: Fixes to index pages
Previous Message Bruce Momjian 2001-02-22 01:05:19 Re: Re: Fixes to index pages