liquibase.harness.change.expectedSql.edb.9.5.dropTrigger.sql Maven / Gradle / Ivy
CREATE OR REPLACE FUNCTION test_function()
RETURNS trigger
AS $$
BEGIN
RAISE NOTICE 'Test trigger function created'
RETURN NEW
END
$$
LANGUAGE plpgsql
CREATE TRIGGER test_trigger
BEFORE INSERT ON public.posts
FOR EACH ROW EXECUTE PROCEDURE test_function()
ALTER SESSION SET SEARCH_PATH=public
DROP TRIGGER test_trigger ON public.posts
© 2015 - 2024 Weber Informatics LLC | Privacy Policy