Re: Passing arguments to a function called by a trigger

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: Passing arguments to a function called by a trigger
Дата
Msg-id 20130727130539.GA3062@tux
обсуждение исходный текст
Ответ на Passing arguments to a function called by a trigger  (Some Developer <someukdeveloper@gmail.com>)
Ответы Re: Passing arguments to a function called by a trigger  (Some Developer <someukdeveloper@gmail.com>)
Список pgsql-novice
Some Developer <someukdeveloper@gmail.com> wrote:

> I have an INSERT AFTER trigger that runs on inserts into a specific
> table. I'm not sure if the function automatically gets all the
> information that was inserted into the table or whether you have to
> manually pass it in?

NEW.<colum_name> is your friend ;-)


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


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

Предыдущее
От: Some Developer
Дата:
Сообщение: Passing arguments to a function called by a trigger
Следующее
От: Some Developer
Дата:
Сообщение: Re: Passing arguments to a function called by a trigger