执行一个没有结果的命令

最近更新时间: 2024-06-12 15:06:00

postgres=# CREATE OR REPLACE FUNCTION f27() RETURNS void AS
postgres-# $$   
postgres$# BEGIN          
postgres$#     perform f27(1);
postgres$# END;
postgres$# $$
postgres-# LANGUAGE plpgsql;
CREATE FUNCTION
postgres=# SELECT f27();
 f27 
-----
(1 row)
postgres=#