Re: Need help with trigger - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Need help with trigger
Date
Msg-id 95e0e4d4-fb07-619f-fd51-036f8d9811ec@aklaver.com
Whole thread Raw
In response to Re: Need help with trigger  (Condor <condor@stz-bg.com>)
Responses Re: Need help with trigger
List pgsql-general
On 1/23/21 12:14 PM, Condor wrote:
> On 23-01-2021 20:49, Adrian Klaver wrote:
>> On 1/23/21 10:20 AM, Condor wrote:

> 
> Sorry,
> 
> I'm sorry, I don't understand something. You mean to do pure INSERT ON 
> CONFLICT DO or to modify the trigger ?

No I meant that in the external program you use to fetch the data from 
the other table and reorganize the fields.  Do your test there and do 
either the INSERT or UPDATE.


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: ubuntu 18: PostgreSQL does not start. how can I totally remove and reinstall it
Next
From: Melvin Davidson
Date:
Subject: Re: Need help with trigger