Re: Order of update - Mailing list pgsql-general

From Ron Johnson
Subject Re: Order of update
Date
Msg-id CANzqJaBZypypH7uQzcBEvZqA+GOusk6SxicY7u6WPNeENWLWxw@mail.gmail.com
Whole thread Raw
In response to Order of update  (Thiemo Kellner <thiemo@gelassene-pferde.biz>)
Responses Re: Order of update
List pgsql-general
On Sun, Apr 20, 2025 at 5:35 AM Thiemo Kellner <thiemo@gelassene-pferde.biz> wrote:
Very interesting. But is the sort overhead worth it? Why not make the constraint deferrable before the update and switch back afterwards?

The role which runs the UPDATE might not have the priv to ALTER TABLE ... ALTER CONSTRAINT. 

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

pgsql-general by date:

Previous
From: Thiemo Kellner
Date:
Subject: Re: Order of update
Next
From: Thiemo Kellner
Date:
Subject: Re: Order of update