mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Create objects in public schema. Make spacing/capitalization consistent. Remove transaction block use for object creation. Remove unneeded function GRANTs.
10 lines
253 B
SQL
10 lines
253 B
SQL
-- Adjust this setting to control where the objects get created.
|
|
SET search_path = public;
|
|
|
|
SET autocommit TO 'on';
|
|
|
|
CREATE TRIGGER "MyTableName_Trig"
|
|
AFTER INSERT OR DELETE OR UPDATE ON "MyTableName"
|
|
FOR EACH ROW EXECUTE PROCEDURE "recordchange" ();
|
|
|