From f7a9a3b2e2c28a4f045a857debcaea372273826d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=B0=8F=E6=9D=BE?= Date: Mon, 4 Apr 2022 16:50:23 +0800 Subject: [PATCH] Edit by browser --- src/test.sql | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/test.sql b/src/test.sql index 8fef435..15b5947 100644 --- a/src/test.sql +++ b/src/test.sql @@ -2,8 +2,15 @@ CREATE OR REPLACE FUNCTION TRI_INSERT_FUNC() RETURNS TRIGGER AS $$ DECLARE - + --此处用declare语句声明你所需要的变量 BEGIN + --此处插入触发器业务 + + + + + + --触发器业务结束 return new;--返回插入的新元组 END; $$ LANGUAGE PLPGSQL;