Re: use new List API names

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: use new List API names
Дата
Msg-id 40BA3F7D.4090608@samurai.com
обсуждение исходный текст
Ответ на Re: use new List API names  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: use new List API names  (Neil Conway <neilc@samurai.com>)
Re: use new List API names  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
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.

-Neil

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: use new List API names
Следующее
От: Neil Conway
Дата:
Сообщение: Re: use new List API names