Re: Proposal: real procedures again (8.4)

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Proposal: real procedures again (8.4)
Дата
Msg-id 877il820ey.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Proposal: real procedures again (8.4)  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Ответы Re: Proposal: real procedures again (8.4)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Proposal: real procedures again (8.4)  (Hannu Krosing <hannu@skype.net>)
Список pgsql-hackers
"Pavel Stehule" <pavel.stehule@gmail.com> writes:

> Later:
> * procedure can manages transactions,

Personally this is the only actual feature on the list that seems to have any
point to me.

> Why new calling convention? I would to support byref variables and
> then I have to carry memory context info ... and maybe some others

I think first you have to invent something for the by-ref parameter to refer
to. We don't currently have any kind of "variables" which can be mutated. We
just have immutable datums which get passed up the query. Effectively SQL is a
functional programming language in that sense.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Proposal: real procedures again (8.4)
Следующее
От: Gregory Stark
Дата:
Сообщение: min/max planner optimization