Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)
Дата
Msg-id AANLkTik7Z1GEkxkAQ0mKhy5O-_gki5P8P_VZO85GJqMN@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Sat, Dec 18, 2010 at 02:03, Merlin Moncure <mmoncure@gmail.com> wrote:
>>        FOREACH scalar-variable IN ARRAY array-expression
>>        FOR_EACH scalar-variable IN ARRAY array-expression
>>        FOR_SLICE array-variable [DEPTH n] IN ARRAY array-expression
>>        FOREACH scalar-variable IN ARRAY array-expression
>>        FOREACH array-variable SLICE n IN ARRAY array-expression
> FOREACH scalar IN ARRAY arr_exp DIMS in dim_var

It should be not a main subject, but I remember there was a discussion
that "IN ARRAY array-expression" looks redundant for a literal array:
 IN ARRAY ARRAY[1, 3, 5]

Are there any improvement for the issue?

--
Itagaki Takahiro


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

Предыдущее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)