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@svana.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.

Attachment: signature.asc
Description: Digital signature

Reply via email to