Re: Passing parameters to a Trigger

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Passing parameters to a Trigger
Дата
Msg-id 200301271430.56284.josh@agliodbs.com
обсуждение исходный текст
Ответ на Passing parameters to a Trigger  (Antonio Scotti <ascotti@mbigroup.it>)
Список pgsql-novice
Antonio,

> I need to pass to a trigger two dynamic text parameters stored into a
> table (I can obtain them via a simple select). How can I obtain such a
> thing?

You can't.  Triggers do not accept parameters.

If the parameters you're talking about are table columns, you can access them
through the NEW and OLD record objects.

--
-Josh Berkus
 Aglio Database Solutions
 San Francisco


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: postgresql with SuSE 8.0
Следующее
От: Jonathon Batson
Дата:
Сообщение: Re: Learning Plpgsql ??