All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.harness.change.expectedSql.edb.enableTrigger.sql Maven / Gradle / Ivy

There is a newer version: 1.0.10
Show newest version
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 TABLE public.posts  DISABLE TRIGGER test_trigger
ALTER TABLE public.posts  ENABLE TRIGGER test_trigger




© 2015 - 2024 Weber Informatics LLC | Privacy Policy