Re: Manual query vs trigger during data load

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Juan Rodrigo Alejandro Burgos Mella <rodrigoburgosmella(at)gmail(dot)com>, yudhi s <learnerdatabase99(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Manual query vs trigger during data load
Date: 2024-09-13 14:57:28
Message-ID: 67f2a664-b480-40ea-892d-2ab2147ad390@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/13/24 07:50, Adrian Klaver wrote:
> 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.

My mistake I see the OLD reference now.

>
>>
>> Atte
>> JRBN
>>
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Willow Chargin 2024-09-13 15:26:53 Re: Functionally dependent columns in SELECT DISTINCT
Previous Message Adrian Klaver 2024-09-13 14:50:56 Re: Manual query vs trigger during data load