Re: Anonymous code blocks

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Anonymous code blocks
Дата
Msg-id 4AB575EE.4010304@dunslane.net
обсуждение исходный текст
Ответ на Re: Anonymous code blocks  (Dimitri Fontaine <dfontaine@hi-media.com>)
Ответы Re: Anonymous code blocks  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Anonymous code blocks  (Merlin Moncure <mmoncure@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Anonymous code blocks
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PATCH: make plpgsql IN args mutable (v1)