Skip site navigation (1) Skip section navigation (2)

Re: Anonymous Code Blocks as Lambdas?

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Anonymous Code Blocks as Lambdas?
Date: 2009-10-26 19:43:55
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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.



In response to


pgsql-hackers by date

Next:From: Peter EisentrautDate: 2009-10-26 20:09:34
Subject: Re: [ANNOUNCE] PostgreSQL 8.5alpha2 Now Available
Previous:From: Jonah H. HarrisDate: 2009-10-26 19:39:30
Subject: Re: table corrupted

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group