Re: Anonymous Code Blocks as Lambdas? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Anonymous Code Blocks as Lambdas?
Date
Msg-id 4AE5FBFB.7090400@dunslane.net
Whole thread Raw
In response to Anonymous Code Blocks as Lambdas?  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: Anonymous Code Blocks as Lambdas?
Re: Anonymous Code Blocks as Lambdas?
List pgsql-hackers

David E. Wheeler wrote:
> Howdy,
>
> Very excited about the new `DO` command in 8.5a2. I read through the 
> patch review thread and found that, like me, Dim had expected it to 
> behave more like a lambda than a simple command. And from Tom's 
> comments, it looks like it was committed in such a way to make such 
> extensions possible (passing arguments, returning values (maybe even 
> sets?).
>
> So I was wondering if anyone has thought about adding such 
> functionality, and if so, what it might look like?
>
> If the answer is "no, because we want to see what cow paths develop in 
> 8.5," that's fine with me. I'll just be chasing cows. :-)
>
>

It was discussed and rejected, at least for now. See earlier discussion.

cheers

andrew


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: table corrupted
Next
From: Pavel Stehule
Date:
Subject: Re: Anonymous Code Blocks as Lambdas?