Re: [GENERAL] UPDATE ... ON CONFLICT DO NOTHING - Mailing list pgsql-general

From Alexander Farber
Subject Re: [GENERAL] UPDATE ... ON CONFLICT DO NOTHING
Date
Msg-id CAADeyWi+=QecCjNu8krpwAQmeJirN_1L0BohaAFYh6RPaZpk4g@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] UPDATE ... ON CONFLICT DO NOTHING  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: [GENERAL] UPDATE ... ON CONFLICT DO NOTHING
Re: [GENERAL] UPDATE ... ON CONFLICT DO NOTHING
List pgsql-general
My initial idea has been not to use ON CONFLICT at all, but instead only UPDATE the words_reviews records (set "uid" or "author" to out_uid) for which NO EXISTS already such a record with PK (uid, author)... and then DELETE the rest (as I can't update them without a conflict) but I haven't figured it out yet...

Thank you anyway

pgsql-general by date:

Previous
From: Антон Тарабрин
Date:
Subject: Re: [GENERAL] Table not cleaning up drom dead tuples
Next
From: Durumdara
Date:
Subject: Re: [GENERAL] Maximum of connections in PG