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

From Alvaro Herrera
Subject Re: Proposal: plpgsql - "for in array" statement
Date
Msg-id 1285722867-sup-6989@alvh.no-ip.org
Whole thread Raw
In response to Re: Proposal: plpgsql - "for in array" statement  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Proposal: plpgsql - "for in array" statement  (Darren Duncan <darren@darrenduncan.net>)
Re: Proposal: plpgsql - "for in array" statement  (Darren Duncan <darren@darrenduncan.net>)
Re: Proposal: plpgsql - "for in array" statement  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Excerpts from Kevin Grittner's message of mar sep 28 12:28:12 -0400 2010:

> How about distinguishing it this way:?
>  
> FOR var IN ARRAY array_expression LOOP

What about

FOR EACH var IN array_expr LOOP ...

I think this requires reserving EACH, which could cause a regression for
working code.  Maybe there's a way to make it work?

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: Commitfest: The Good, The Bad, and the Ugly
Next
From: Robert Haas
Date:
Subject: Re: [RRR] Commitfest: The Good, The Bad, and the Ugly