mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Update /contrib for "autocommit TO 'on'".
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
This commit is contained in:
@ -1,5 +1,9 @@
|
||||
-- Adjust this setting to control where the objects get created.
|
||||
SET search_path = public;
|
||||
|
||||
CREATE TRIGGER "MyTableName_Trig" AFTER INSERT OR DELETE OR UPDATE
|
||||
ON "MyTableName" FOR EACH ROW EXECUTE PROCEDURE
|
||||
"recordchange" ();
|
||||
SET autocommit TO 'on';
|
||||
|
||||
CREATE TRIGGER "MyTableName_Trig"
|
||||
AFTER INSERT OR DELETE OR UPDATE ON "MyTableName"
|
||||
FOR EACH ROW EXECUTE PROCEDURE "recordchange" ();
|
||||
|
||||
|
Reference in New Issue
Block a user