Re: REVIEW: WIP: plpgsql - foreach in

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: REVIEW: WIP: plpgsql - foreach in
Дата
Msg-id 20110124040555.GZ30352@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: REVIEW: WIP: plpgsql - foreach in  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: REVIEW: WIP: plpgsql - foreach in  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Список pgsql-hackers
* Robert Haas (robertmhaas@gmail.com) wrote:
> Uh oh.  You just reopened the can of worms from hell.

Alright..  I'm missing what happened to this suggestion of using:

FOR var in ARRAY array_expression ...

I like that a lot more than inventing a new top-level keyword, for the
same reasons that Tom mentioned: using a different initial keyword
makes it awkward to make generic statements about "all types of FOR
loop" (as I noticed while looking through the documentation changes that
should be made for this); and also some of the other comments about how
FOREACH doesn't give you any clue that this is some
array-specific-FOR-loop-thingy.
Thanks,
    Stephen



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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: REVIEW: WIP: plpgsql - foreach in
Следующее
От: Robert Haas
Дата:
Сообщение: Re: patch: Add PGXS support to hstore's Makefile (trivial)