Re: passing parameters to a trigger function

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: passing parameters to a trigger function
Дата
Msg-id 20060321143129.GE11045@svana.org
обсуждение исходный текст
Ответ на passing parameters to a trigger function  ("Larry White" <ljw1001@gmail.com>)
Список 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@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.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Larry White"
Дата:
Сообщение: passing parameters to a trigger function
Следующее
От: Terry Lee Tucker
Дата:
Сообщение: Re: passing parameters to a trigger function