Re: Anonymous code blocks

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
Cc: Petr Jelinek <pjmodos(at)pjmodos(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Subject: Re: Anonymous code blocks
Date: 2009-09-20 00:23:10
Message-ID: 4AB575EE.4010304@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dimitri Fontaine wrote:
> So here are the major points about this patch:
>
> - it's missing the returns declaration syntax (default value could be
> returns void?)
>
> - it would be much more friendly to users if it had a default output
> for queries, the returned object seems a good fit
>
>
>

Really? That wasn't my expectation at all. I expected that the code
would in effect be always returning void. I think you're moving the
goalposts a bit here. I don't think we need a RETURNS clause on it for
it to be useful.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-09-20 01:55:04 Re: PATCH: make plpgsql IN args mutable (v1)
Previous Message Dimitri Fontaine 2009-09-20 00:03:45 Re: Anonymous code blocks