Skip site navigation (1) Skip section navigation (2)

Re: use new List API names

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: use new List API names
Date: 2004-05-30 21:31:55
Message-ID: 27456.1085952715@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Neil Conway <neilc(at)samurai(dot)com> writes:
> Tom Lane wrote:
>> I thought llast() and length() were going away too?

> For llast(), I decided to keep it around: it is nicely symmetric 
> with linitial(), and it makes any code that actually needs the last 
> value in a list significantly more readable. Since it's a macro 
> there's no runtime cost.

> I had thought about keeping length() around, but on second thought I 
> don't see why we ought to. I'll replace it with list_length() and 
> post an updated patch.

Okay, that works for me.

			regards, tom lane

In response to

pgsql-patches by date

Next:From: Oliver ElphickDate: 2004-05-30 21:53:12
Subject: CVS tip problems
Previous:From: Neil ConwayDate: 2004-05-30 21:09:44
Subject: Re: use new List API names

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group