Re: Trigger Procedures

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Trigger Procedures
Дата
Msg-id 200505121232.30638.josh@agliodbs.com
обсуждение исходный текст
Ответ на Trigger Procedures  (Steve Tucknott <steve@retsol.co.uk>)
Список pgsql-novice
Steve,

> At the moment, I can't seem to pass the NEW values into trace_actions.
> Similarly, as trace_actions is a common process, I have no way of
> knowing whether NEW contains 'sourceDetRecNo' or 'sourceDetProdRecNo'
> (unless I case the table name)

You don't pass NEW and OLD as parameters.  They are automatically available
inside the trigger procedure.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Using PgSQL in high volume and throughput problem
Следующее
От: D.C.
Дата:
Сообщение: how to copy data between machines ?