Shouldn;t this trigger be called? - Mailing list pgsql-general

From stan
Subject Shouldn;t this trigger be called?
Date
Msg-id 20190915153309.GA19624@panix.com
Whole thread Raw
Responses Re: Shouldn;t this trigger be called?
Re: Shouldn;t this trigger be called?
List pgsql-general
I have defined this function:

CREATE FUNCTION fix_customer_types_case()

and this trigger:

CREATE TRIGGER fix_customer_types_case_trig BEFORE INSERT OR UPDATE ON customer
FOR EACH ROW EXECUTE FUNCTION fix_customer_types_case();

and I put a RAISE NOTICE so I cna tell if the function is called. Yet when I
do a :

\copy to bring data into this table, I do not see the notice.

Shouldn't this fucntion be aclled for that?



-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
                        -- Benjamin Franklin



pgsql-general by date:

Previous
From: stan
Date:
Subject: Re: Handling case variatiions on a user defined type?
Next
From: stan
Date:
Subject: Re: Shouldn;t this trigger be called?