Re: DO ... RETURNING

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: DO ... RETURNING
Дата
Msg-id 20130611160049.GP7200@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: DO ... RETURNING  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: DO ... RETURNING  (Merlin Moncure <mmoncure@gmail.com>)
Re: DO ... RETURNING  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
* Pavel Stehule (pavel.stehule@gmail.com) wrote:
> 2013/6/11 Stephen Frost <sfrost@snowman.net>:
> > And this still has next-to-nothing to do with the specific proposal that
> > was put forward.
> >
> > I'd like actual procedures too, but it's a completely different and
> > distinct thing from making DO blocks able to return something.
>
> I think so it is related - we talk about future form of DO statement -
> or about future form of server side scripting.

I don't believe there's any intent to ever have DO used for stored
procedures.  Not only are stored procedures deserving of their own
top-level command (eg: CALL, as has been discussed before..), but I
believe they would necessairly have different enough semantics that
shoe-horning them into DO would end up breaking backwards compatibility.
Thanks,
    Stephen

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: [PATCH] pgbench --throttle (submission 7 - with lag measurement)
Следующее
От: Stefan Drees
Дата:
Сообщение: Re: fallocate / posix_fallocate for new WAL file creation (etc...)