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

minor list cleanup

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: minor list cleanup
Date: 2004-09-26 23:56:00
Message-ID: 1096242960.25688.693.camel@localhost.localdomain (view raw or whole thread)
Lists: pgsql-patches
This patch makes a few minor cleanups:

(1) Replace while loop with the new forboth() construct in

(2) Replace lcons() with lappend() in SearchCatCacheList(). Since these
now have the same performance, there is no reason to prefer lcons() in
this case, and using lappend() leads to cleaner code.

(3) Improve the name of the second parameter to for_each_cell()

Barring any objections, I intend to apply this patch later today.



pgsql-patches by date

Next:From: Neil ConwayDate: 2004-09-26 23:57:34
Subject: Re: Code/comment cleanups now that odbc is gone.
Previous:From: Neil ConwayDate: 2004-09-26 23:52:45
Subject: void * cast cleanup

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