Re: Anonymous code blocks - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Anonymous code blocks
Date
Msg-id 4AB575EE.4010304@dunslane.net
Whole thread Raw
In response to Re: Anonymous code blocks  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: Anonymous code blocks
Re: Anonymous code blocks
List 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


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Anonymous code blocks
Next
From: Tom Lane
Date:
Subject: Re: PATCH: make plpgsql IN args mutable (v1)