Re: triggers and parameters

Поиск
Список
Период
Сортировка
От Roger Mason
Тема Re: triggers and parameters
Дата
Msg-id y657dgdbtt9.fsf@mun.ca
обсуждение исходный текст
Ответ на Re: triggers and parameters  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-novice
David G. Johnston writes:

> If jid is on the table "results" then you are good [1].  If not, how
> exactly would expect that to work?
>
> https://www.postgresql.org/docs/current/plpgsql-trigger.html#PLPGSQL-DML-TRIGGER

OK, I think I understand better now.  The NEW record holds the new data
and the trigger function can extract the items it needs from that
record.

Thanks - inviting me to read the docs more carefully was just what I
needed.

Roger



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: triggers and parameters
Следующее
От: Sruthi V
Дата:
Сообщение: postgres sql service not running