Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?) - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)
Date
Msg-id AANLkTik7Z1GEkxkAQ0mKhy5O-_gki5P8P_VZO85GJqMN@mail.gmail.com
Whole thread Raw
In response to Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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 by date:

Previous
From: Dmitriy Igrishin
Date:
Subject: Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)
Next
From: Magnus Hagander
Date:
Subject: Re: Re: Proposed Windows-specific change: Enable crash dumps (like core files)