minor list cleanup

Поиск
Список
Период
Сортировка
От Neil Conway
Тема minor list cleanup
Дата
Msg-id 1096242960.25688.693.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: minor list cleanup
Re: minor list cleanup
Список pgsql-patches
This patch makes a few minor cleanups:

(1) Replace while loop with the new forboth() construct in
parser/analyze.c

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

-Neil



В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: void * cast cleanup
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Code/comment cleanups now that odbc is gone.