Re: "stored procedures"

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: "stored procedures"
Дата
Msg-id BANLkTin9SzvDeJ6QfU-nGWEhX=xwKLND3w@mail.gmail.com
обсуждение исходный текст
Ответ на "stored procedures"  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Hi Peter

2011/4/21 Peter Eisentraut <peter_e@gmx.net>:
> So the topic of "real" "stored procedures" came up again.  Meaning a
> function-like object that executes outside of a regular transaction,
> with the ability to start and stop SQL transactions itself.
>
> I would like to collect some specs on this feature.  So does anyone have
> links to documentation of existing implementations, or their own spec
> writeup?  A lot of people appear to have a very clear idea of this
> concept in their own head, so let's start collecting those.
>

I had a patch for "transactional" procedures, but this is lost :(

http://okbob.blogspot.com/2007/11/stacked-recordset-multirecordset.html

What I (We) expect:

Very important points:
1. possible explicit transaction controlling - not only subtransactions
2. correct or usual behave of OUT parameters (important for JDBC people)
*** attention: overloading is related to OUT parameters too ***

Not necessary but nice:
3. Support for multirecordset and RETURN_STATUS variable
(RETURN_STATUS is defined by ANSI)

Regards

Pavel


>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Formatting Curmudgeons WAS: MMAP Buffers
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Formatting Curmudgeons WAS: MMAP Buffers