On 08/29/2013 11:01 PM, David E. Wheeler wrote:
> On Aug 29, 2013, at 1:11 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>
>> I cannot to say what is good design for PL/pgSQL - only I feel so some variant of RETURN statement is not good,
becausesemantic is significantly different. And I see a increasing inconsistency between a original ADA and PL/pgSQL.
> So YIELD or implement PL/PSM.
We already have RETURN NEXT as equivalent to YIELD.
--
Hannu Krosing
PostgreSQL Consultant
Performance, Scalability and High Availability
2ndQuadrant Nordic OÜ