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

Re: Anonymous Code Blocks as Lambdas?

From: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Anonymous Code Blocks as Lambdas?
Date: 2009-10-26 21:57:56
Message-ID: 8262E824-0137-47A3-8F20-F5F512E63151@kineticode.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Oct 26, 2009, at 2:12 PM, Pavel Stehule wrote:

> it should be light relation. 'DO' should be parametrised, and psql can
> use own variables as 'DO' parameters.

I see, because `DO` is a statement, not an expression. Thus arguments  
don't really make much sense (I wish it was an expression!).

I don't think it's a good idea to tie SQL syntax to a feature of a  
client, though.

Best,

David

In response to

Responses

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2009-10-26 22:03:12
Subject: Re: Anonymous Code Blocks as Lambdas?
Previous:From: Boszormenyi ZoltanDate: 2009-10-26 21:51:27
Subject: "toast.fillfactor" is documented but not recognized?

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