Re: WIP patch: convert SQL-language functions to return tuplestores - Mailing list pgsql-hackers

From Tom Lane
Subject Re: WIP patch: convert SQL-language functions to return tuplestores
Date
Msg-id 26066.1225460282@sss.pgh.pa.us
Whole thread Raw
In response to Re: WIP patch: convert SQL-language functions to return tuplestores  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: WIP patch: convert SQL-language functions to return tuplestores
List pgsql-hackers
"Pavel Stehule" <pavel.stehule@gmail.com> writes:
> RETURN QUERY should be implemented for lazy execution model. And it
> should be fast and not to much dificult.

Really?  Consider what happens if it's inside a loop, or an exception
block, or any other nesting construct.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: [PATCHES] GIN improvements
Next
From: "Pavel Stehule"
Date:
Subject: Re: WIP patch: convert SQL-language functions to return tuplestores