调用存储过程不需要call
最近更新时间: 2024-10-17 17:10:00
postgres=# create or replace procedure p_call_test() is
begin
raise notice '存储过程调用';
end ;
/
CREATE PROCEDURE
postgres=# create or replace procedure p_call() is
begin
call p_call_test();
p_call_test();
end ;
/
CREATE PROCEDURE
postgres=#
postgres=# call p_call();
NOTICE: 存储过程调用
NOTICE: 存储过程调用
CALL
postgres=#