Re: Proposal: plpgsql - "for in array" statement - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: Proposal: plpgsql - "for in array" statement
Date
Msg-id 4CA1D14C0200002500036023@gw.wicourts.gov
Whole thread Raw
In response to Re: Proposal: plpgsql - "for in array" statement  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Proposal: plpgsql - "for in array" statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Proposal: plpgsql - "for in array" statement  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> wrote:
>>> FOR var IN [array variable | array expression]
>>> LOOP
>>
>> I don't have any opinion about whether the functionality proposed
>> here is worth the trouble, but I do have an opinion about that
>> syntax: it's an awful choice.
> 
> I agree, on both points.
How about distinguishing it this way:?
FOR var IN ARRAY array_expression LOOP
-Kevin


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: trailing whitespace in psql table output
Next
From: Tom Lane
Date:
Subject: Re: Proposal: plpgsql - "for in array" statement