public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: pgsql-general <[email protected]>
Subject: Re: Order of update
Date: Sun, 20 Apr 2025 10:28:34 -0400
Message-ID: <CANzqJaBZypypH7uQzcBEvZqA+GOusk6SxicY7u6WPNeENWLWxw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>

On Sun, Apr 20, 2025 at 5:35 AM Thiemo Kellner <[email protected]>
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!


view thread (7+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Order of update
  In-Reply-To: <CANzqJaBZypypH7uQzcBEvZqA+GOusk6SxicY7u6WPNeENWLWxw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox