On 9/13/24 02:58, Juan Rodrigo Alejandro Burgos Mella wrote:
> Hello, I find it unlikely that the trigger will work properly, since the
> reserved fields of the OLD subset have no value in an INSERT
I'm not seeing that the OP is asking for OLD.* values, they are just
looking to include the result of a lookup on another table in the INSERT.
>
> Atte
> JRBN
>
--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com