From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Larry White <ljw1001(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: passing parameters to a trigger function |
Date: | 2006-03-21 14:31:29 |
Message-ID: | 20060321143129.GE11045@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Tue, Mar 21, 2006 at 09:21:43AM -0500, Larry White wrote:
> I can't figure out how to pass parameters to a trigger function.
>
> I checked the documentation and saw that trigger functions don't take
> params in the usual fashion,
> but couldn't find an example of a pl-sql trigger function that used
> the original row data within the function.
Check the docs. It varies by language, but this is for plpgsql:
http://www.postgresql.org/docs/8.0/static/plpgsql-trigger.html
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2006-03-21 14:33:44 | Re: passing parameters to a trigger function |
Previous Message | Terry Lee Tucker | 2006-03-21 14:31:12 | Re: passing parameters to a trigger function |