Re: How do I upsert depending on a second table?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Samuel Marks <samuelmarks(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How do I upsert depending on a second table?
Date: 2025-09-23 21:31:46
Message-ID: CAKFQuwa6=k0=Oi-1cDqVVpwbxMvEWcw8hF8-uTV1z0rRTNSE5w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday, September 23, 2025, Samuel Marks <samuelmarks(at)gmail(dot)com> wrote:

>
>
$subject

You can only upsert/provoke a meaningful conflict on the singular table
being inserted into.

There are other features like functions and triggers that may get you
something usable.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Juan Rodrigo Alejandro Burgos Mella 2025-09-24 00:25:10 Re: How do I upsert depending on a second table?
Previous Message Samuel Marks 2025-09-23 21:02:38 Re: How do I upsert depending on a second table?