Re: Stored procedures and out parameters

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема Re: Stored procedures and out parameters
Дата
Msg-id CAB=Je-GoVaHKoZQtuFLP4dxqh_H21h5qCtpN+gtqikwPiVmbYg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Stored procedures and out parameters  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
Peter>AFAICT in no case does it involve allowing functions to be called as procedures or vice versa.

Oracle DB uses the same way to execute both procedures and functions: pl/sql block.

For instance:
procedure) begin my_proc(); end;
function) begin :result := my_fun(); end;

Call like begin my_fun(); end; would fail.
However there's no dedicated command to call procedures or a command to call functions.

Vladimir

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Stored procedures and out parameters
Следующее
От: Andreas Joseph Krogh
Дата:
Сообщение: Sv: Re: Query is over 2x slower with jit=on