From: | Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com> |
---|---|
To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
Cc: | Shay Rojansky <roji(at)roji(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, daniel(at)manitou-mail(dot)org, Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Stored procedures and out parameters |
Date: | 2018-08-22 17:21:32 |
Message-ID: | CAB=Je-GoVaHKoZQtuFLP4dxqh_H21h5qCtpN+gtqikwPiVmbYg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-08-22 17:50:34 | Re: BUG #15346: Replica fails to start after the crash |
Previous Message | Peter Eisentraut | 2018-08-22 16:58:41 | Re: Stored procedures and out parameters |