Re: functions for triggers: passing parameters - Mailing list pgsql-general

From Doug McNaught
Subject Re: functions for triggers: passing parameters
Date
Msg-id m37l1ypz8c.fsf@belphigor.mcnaught.org
Whole thread Raw
In response to functions for triggers: passing parameters  (Nico <nicod@tiscalinet.it>)
List pgsql-general
Nico <nicod@tiscalinet.it> writes:

> What is wrong?

[...]

> CREATE TRIGGER t1_set_val BEFORE INSERT ON t1
> FOR EACH ROW EXECUTE PROCEDURE set_value('some info');

Trigger functions can't take arguments.

-Doug

pgsql-general by date:

Previous
From: Frank Joerdens
Date:
Subject: Re: Forein Key
Next
From: Stephan Szabo
Date:
Subject: Re: inheritance and primary/foreign keys