Re: unique constraint violation on multiple-rows update - Mailing list pgsql-general

From Karsten Hilbert
Subject Re: unique constraint violation on multiple-rows update
Date
Msg-id aeVDH-PnW6_6VDV_@hermes.hilbert.loc
Whole thread
In response to Re: unique constraint violation on multiple-rows update  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Am Sun, Apr 19, 2026 at 11:17:47AM -0400 schrieb Tom Lane:

> > Am Sun, Apr 19, 2026 at 06:54:02AM -0700 schrieb David G. Johnston:
> >> You know about deferred constraints, you should use them here.  This is one
> >> of the key use cases motivating their existence.
>
> > Indeed. I was of the mistaken impression that UNIQUE
> > constraints were not deferrable ...
>
> Once upon a time they were not, but we fixed that years ago.

A late thanks, it came in handy today :-)

Karsten
--
GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B



pgsql-general by date:

Previous
From: Igor Korot
Date:
Subject: Re: List of encodings
Next
From: Adrian Klaver
Date:
Subject: Re: List of encodings