📅  最后修改于: 2022-03-11 15:05:09.809000             🧑  作者: Mango
postgres=# Create or replace function fun1(n int) returns int
as
$$
Begin
Insert into test values (n,'2019-11-26');
Return 1;
End;
$$
Language 'plpgsql';
CREATE FUNCTION
postgres=#