Re: linked list rewrite

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: linked list rewrite
Date: 2004-04-29 04:31:22
Message-ID: 200404290431.i3T4VMQ25722@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Neil Conway wrote:
> On 28-Apr-04, at 12:12 AM, Bruce Momjian wrote:
> > I never liked "cell" myself. It is too vague to me. But I see your
> > point that list_head you would think returns the head of the list, not
> > the first element in the list.
>
> I'm not sure what you mean: list_head() returns the "head of the list",
> which is the first cell in the list. That cell contains a data value
> and a pointer to the next cell in the list. Makes sense to me...

Oh, I thought cell returned the first data value, not the
first-data-and-pointer-to-next-one. Yes, list_head and list_tail seems
fine. Why mix "cell" in there? I don't know what a cell is.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hervé Piedvache 2004-04-29 06:18:34 Re: Postgre and Web Request
Previous Message Tom Lane 2004-04-29 04:13:46 Re: Arbitrary precision modulo operation

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-04-29 04:36:50 Re: 7.5 features
Previous Message Bruce Momjian 2004-04-29 04:18:38 PITR logging control program