Re: linked list rewrite - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: linked list rewrite
Date
Msg-id 200404290431.i3T4VMQ25722@candle.pha.pa.us
Whole thread Raw
In response to Re: linked list rewrite  (Neil Conway <neilc@samurai.com>)
List 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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: PITR logging control program
Next
From: Bruce Momjian
Date:
Subject: Re: 7.5 features