Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uqtBS-00Ei65-76 for pgsql-general@arkaria.postgresql.org; Tue, 26 Aug 2025 12:53:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uqtBQ-005tWR-Hk for pgsql-general@arkaria.postgresql.org; Tue, 26 Aug 2025 12:53:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uqtBQ-005tWJ-38 for pgsql-general@lists.postgresql.org; Tue, 26 Aug 2025 12:53:52 +0000 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uqtBO-001qFr-0t for pgsql-general@lists.postgresql.org; Tue, 26 Aug 2025 12:53:51 +0000 Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-74382041c9eso3058457a34.3 for ; Tue, 26 Aug 2025 05:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1756212830; x=1756817630; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=m4bVj/zp3CXdpREW1RfbhHkZ7ua3rYybrQ39mv8g9QE=; b=jz+8nIVdMEwMYjn/m0uIzxPnCeDNzdM0BqfXyIb8VKiSCCvQTyXw/PadzCOYJB5IMr hGKrbkUpOP65MfFKQHOtOpZNhbqyHQLVmzGZnBVTcG6AYYcqAszuItHD0AAOzOzXe1sD EnZbpVr0CzIZaTZ9A16sfl10Eul3YduCn9RGd/FjQ+LvFNlTLtMTXkyevtJLTyadJDHd FD9lS7LTOE5XS7r3+JxrRi9xdJVg1iJsXLlEDtDPGd3hpxhx6qvc6Pfr3cmBK5QVQktw 9jTEwI13VMSRP0mA5fNe1OHGL1uepgHZQKbx17y2i/DJW/MtdnvsaYRmwDJZ+6528fen obbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756212830; x=1756817630; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=m4bVj/zp3CXdpREW1RfbhHkZ7ua3rYybrQ39mv8g9QE=; b=ccoD9t1AIHK5cUA6pHCsU9uD2u4LARctWsumnPuevcmWrLPq9Ph672TPxljrmnfF9G +IEnsdME9nORyGCYUi9DK7wDeHdCIl+rKLWz1934lgpcR8oTo/dJGji/9ARinGeALW4M y/1eThiKQ5mX4BtO8AXvuYh2X+VwxnsMAGqkKo9cgN/hGJ1LmKh8i8KIeKjxnhwyjm55 R5CF9ewpF03/4GYvKsmcgUXMO2mv81vCIxvb+E8xDEPTIEJhVkrezW9efubMlfDgVn1d JlT2/HuOflCK7PMYFkbgMfc447f6p+QKDPC0lFOxLpcbh0BX0lisVyFoaDU9NgByGmiG 13Dg== X-Gm-Message-State: AOJu0YzqPEbOidFu3Xgsdqi6SQ+BHPcvqxUkw2HaRC8N92WBfEDYTvqi Me78VcvQe4JSvAZGVKmRZIGgEdznPhuA2GU7YBj0psnClaFJJZYPQYl2DlULKUL9MCG/VsEk0VG aGbqKZH2IJTTyZlOvygwexGU0pIe4DMoMf+t+ X-Gm-Gg: ASbGncvKpwNiB6bcdy4DP11kDned3yVQ1QUKRi/dT6hrOwsxUEJYBoy7PzD0k7Nlhlg mYUl0DjGjQsbWODLSpF9HClthw/pbBa5hA8D5NHbH7cFiUP75O+sLeOt/xjKs7fwcQZi9TIab8+ OXCd93mNr9b18sU5z0KiJJVCFEPrBDNfpyu+aZzlLdodjH90hW2LmjQsoFc7sdu+olPwkSJ84B1 hLQdD2G X-Google-Smtp-Source: AGHT+IFxegXPIu9ujFxkXZ3/TAwyoDgInhMcavPpdNcOfn84QX1krJa7ja72IeIoSC5FDtjjPjubRnVkgLoalQ5RV2U= X-Received: by 2002:a05:6808:bc5:b0:437:75ea:6c70 with SMTP id 5614622812f47-437852b9e99mr7258151b6e.51.1756212829656; Tue, 26 Aug 2025 05:53:49 -0700 (PDT) MIME-Version: 1.0 References: <185dd861-4e5a-47c0-9f2e-84dfa8a406ca@postgrespro.ru> <26239cd6-a13d-4137-9f1d-61e18c4cf0e6@aklaver.com> In-Reply-To: From: Ron Johnson Date: Tue, 26 Aug 2025 08:53:37 -0400 X-Gm-Features: Ac12FXybHnyj9AUWSGd8FjV-tSZy-gHVz9St4D9l7mOr7xVrlmuCOJ3yur3PxZ4 Message-ID: Subject: Re: DISABLE TRIGGER doc wrong? To: "pgsql-generallists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000dc9a8d063d442991" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000dc9a8d063d442991 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Aug 26, 2025 at 3:01=E2=80=AFAM Dominique Devienne wrote: [snip] > ERROR: permission denied: "RI_ConstraintTrigger_c_1226298044" is a > system trigger > > (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. And it can seem quite random to someone who doesn't dig into the source code. For example, a couple of years ago, I installed PG14 on 5 newly-built servers. The OIDs of the ten databases I created on them were: Srv 1: 19762693, 544452602 Srv 2: 1002727, 11988067 Srv 3: 16388, 509694991 Srv 4: 16387, 1805148571 Srv 5: 16388, 3046645364 (Too bad Postgresql doesn't have CREATED_ON timestamp, CREATED_BY oid, MODIFIED_ON timestamp and MODIFIED_BY oid fields in pg_database and pg_class,to verify whether my memory is correct. The counter-argument when I requested such fields was "pg_dump/pg_upgrade creates new objects, so it's not _really_ when they were created" and "you don't _really_ need those fields".) --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --000000000000dc9a8d063d442991 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Aug 26, 2025 at 3:01=E2=80=AFAM D= ominique Devienne <ddevienne@gmai= l.com> wrote:
=
[snip]=C2=A0
ERROR:=C2=A0 permission denied: "RI_ConstraintTrigger_c_1226298044&quo= t; is a
system trigger

(yes, that's a large OID... For a 1 year old DB)
=

PG's OID allocation of "user-land" OIDs d= oesn't start at 16384 anymore.=C2=A0 And it can seem quite random to so= meone who doesn't dig into the source code.=C2=A0 For example, a couple= of years ago, I installed PG14 on 5 newly-built servers.=C2=A0 The OIDs of= the ten databases I created on them were:

Srv 1:=C2=A019762693,=C2=A0 544452602
Srv 2:=C2=A0 1002727,=C2=A0 =C2=A011988067
Srv 3:=C2=A0 =C2=A0 16388,=C2=A0 509694991=
Srv 4:=C2=A0 =C2=A0=C2=A0= 16387,=C2=A01805148571=
Srv 5:=C2=A0 =C2=A0=C2=A0= 16388,=C2=A03046645364

(Too bad Pos= tgresql doesn't have CREATED_ON timestamp, CREATED_BY oid, MODIFIED_ON = timestamp and MODIFIED_BY oid fields in pg_database and pg_class,to verify = whether my memory is correct.=C2=A0 The counter-argument when I requested s= uch fields was "pg_dump/pg_upgrade creates new objects, so it's no= t _really_ when they were created" and "you don't _really_ ne= ed those fields".)

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