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