Re: PL/pgSQL PERFORM with CTE - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: PL/pgSQL PERFORM with CTE
Date
Msg-id 521FC0CF.10800@2ndQuadrant.com
Whole thread Raw
In response to Re: PL/pgSQL PERFORM with CTE  ("David E. Wheeler" <david@justatheory.com>)
List pgsql-hackers
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Ü




pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: PL/pgSQL PERFORM with CTE
Next
From: Andres Freund
Date:
Subject: Re: PL/pgSQL PERFORM with CTE