Re: Fixes to index pages

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Fixes to index pages
Date: 2001-02-22 00:31:04
Message-ID: 200102220031.TAA00868@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

> 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.

> Still don't like the name "IndexTupleHasVars" ... sounds to me like that
> means it has variables in it, which is not very sensical. Maybe
> "IndexTupleHasVarlenas"?

Done. Patch attached.

> Also, if you don't put some dashes around the comment in itup.h line
> 27ff, pgindent will munge it for you, just like it did for the last guy.
> (Have I mentioned that I really hate pgindent's handling of comment
> blocks?)

I see. Done. That comment wrapping is a _feature_ of BSD indent. I
can easily disable it if people don't want it. I have seen it clean up
some pretty ugly comments, but I have seen it mess a few too. I think
it does better good than harm, but others may disagree.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 7.5 KB

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Hiroshi Inoue 2001-02-22 01:01:49 Re: Re: Fixes to index pages
Previous Message Tom Lane 2001-02-22 00:10:30 Re: Fixes to index pages