Re: PL/pgSQL support to define multi variables once

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: PL/pgSQL support to define multi variables once
Дата
Msg-id CAFj8pRBQAOY+FdaysDFvZTEDYW0yZuPQZonP1OY1ryHeMbeiWg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PL/pgSQL support to define multi variables once  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers



2014-06-13 16:17 GMT+02:00 Andres Freund <andres@2ndquadrant.com>:
On 2014-06-13 16:12:36 +0200, Pavel Stehule wrote:
> Quan' example is 100% valid in SQL/PSM and what I read about ADA then in
> ADA too.

So what? plpgsql is neither language and this doesn't seem to be the way
to make them actually closer (which I doubt would be a good idea in the
first place).

PL/pgSQL is based on PL/SQL, that is based on ADA. Next PL/SQL takes some statements from SQL/PSM .. GET DIAGNOSTICS statement, and we implemented these statements in PL/pgSQL too.

Some statements in PL/pgSQL are our design - RAISE is good example. So PL/pgSQL is mix PL/SQL, SQL/PSM, and some proprietary

Regards

Pavel




 

Greetings,

Andres Freund

--
 Andres Freund                     http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Audit of logout
Следующее
От: Rahila Syed
Дата:
Сообщение: Re: Compression of full-page-writes