public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: DISABLE TRIGGER doc wrong?
Date: Tue, 26 Aug 2025 09:08:35 -0400
Message-ID: <CANzqJaA_UfXQZoEu7bh6=khERBUixJOAj2SscMua-uv=uFSxeg@mail.gmail.com> (raw)
In-Reply-To: <CAFCRh-9hgN5r+PL2AUJqnx-LwpckYd-nHRdCBajAonUJFo2fnQ@mail.gmail.com>
References: <CAFCRh--VRAHh2D7PsvW1mgRFfx2bqLQH_8asEBTLBn3RDLT7tA@mail.gmail.com>
	<[email protected]>
	<CAFCRh-85iWNy51sQBiVtwE=xq_pEhqR_cOetTa0-DK9TCjqQyw@mail.gmail.com>
	<[email protected]>
	<CAFCRh-8hUbi26hfD5ev4A7UwNAOhnmHf-JFpsk0StTmvaFC=Yg@mail.gmail.com>
	<CANzqJaCHmh+q4GqJSXir9nXLiHVY7MWgPo4n2xaMSCwwxE5hfQ@mail.gmail.com>
	<CAFCRh-9hgN5r+PL2AUJqnx-LwpckYd-nHRdCBajAonUJFo2fnQ@mail.gmail.com>

On Tue, Aug 26, 2025 at 9:01 AM Dominique Devienne <[email protected]>
wrote:

> On Tue, Aug 26, 2025 at 2:54 PM Ron Johnson <[email protected]>
> wrote:
> > On Tue, Aug 26, 2025 at 3:01 AM Dominique Devienne <[email protected]>
> wrote:
> >> ERROR:  permission denied: "RI_ConstraintTrigger_c_1226298044" is a
> >> (yes, that's a large OID... For a 1 year old DB)
> >
> > PG's OID allocation of "user-land" OIDs doesn't start at 16384 anymore.
>
> This is a 17 cluster. So not even 1 year old then.
> So getting to 1.2B OIDs in 10 months,
> doesn't bode well for the longevity of that cluster.
> But we're getting OT here.
> This is not a "production" server, lots of CIs and manual testing there.
>

Like I said, it's not completely linear.  The real question, though, is
whether PG looks for gaps in oid allocation once it wants to try and
allocate an oid of uint32 max.

I bet it does.  If it doesn't... pg_dump/pg_restore, baby!

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


view thread (2+ 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], [email protected]
  Subject: Re: DISABLE TRIGGER doc wrong?
  In-Reply-To: <CANzqJaA_UfXQZoEu7bh6=khERBUixJOAj2SscMua-uv=uFSxeg@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