Re: triggers and parameters

From: Roger Mason <rmason(at)mun(dot)ca>
To: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: triggers and parameters
Date: 2021-08-22 11:30:26
Message-ID: y657dgdbtt9.fsf@mun.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Sruthi V 2021-08-23 13:06:16 postgres sql service not running
Previous Message David G. Johnston 2021-08-22 03:24:36 Re: triggers and parameters