Re: Do not INSERT if UPDATE fails

From: Francisco Olarte <folarte(at)peoplecall(dot)com>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Do not INSERT if UPDATE fails
Date: 2017-08-03 08:14:35
Message-ID: CA+bJJbz1jRP3kQ4+kNiKZu2aXLrG=MC5B=J-f-Mpvoiv44gGYg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 2, 2017 at 6:23 PM, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> wrote:
> Does insert's "on conflict" clause not work for this usage?

Did you even bother to read the queries? He is using two different tables.

Francisco Olarte.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Olarte 2017-08-03 08:25:05 Re: Would you add a --dry-run to pg_restore?
Previous Message Murtuza Zabuawala 2017-08-03 07:03:29 standby database crash