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.96) (envelope-from ) id 1vq653-004YOd-2t for pgsql-general@arkaria.postgresql.org; Wed, 11 Feb 2026 09:00:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vq652-002zzH-2H for pgsql-general@arkaria.postgresql.org; Wed, 11 Feb 2026 09:00:17 +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.96) (envelope-from ) id 1vq5zA-002ytu-25 for pgsql-general@lists.postgresql.org; Wed, 11 Feb 2026 08:54:13 +0000 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vq5z8-0000000067r-3Drj for pgsql-general@postgresql.org; Wed, 11 Feb 2026 08:54:12 +0000 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-59de77e2e30so6877225e87.2 for ; Wed, 11 Feb 2026 00:54:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1770800050; cv=none; d=google.com; s=arc-20240605; b=dZDomZB7LAVvb0BjEv2E48iFyGXEDZhht1itd3Ytp2E0KpgFC22h77nif6y4j3fj3F 2Kuw34RqNa+IXNo/HeQ9p2vHzGzs6FNuYaqnvsni6oDf0u2rEX+/Ecm527ofXyd2MIWb NPIpe/vx/4nAtP1jxka02ekDh2gxZ+nkvU+FhaM97SlBasTq54ozWTb+3Ybu1nIs5xjP J/rtZRGWTVZnSTu9K9yPVuzRLPH/WYEA0HqHRoBKWjKJdyslrbuOJBWL0MZ2YiHv8PlE I2wrD1m1b4QusCzk3EHJa59lB/fQYeA466Eo6yB3PF2qXCn+ryNf7n0JdzuMGPhTnJfj ihpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version:dkim-signature; bh=Px5GZCRW3WWdNkmUpXI5afua/e9EdeKRC6oTtZJ2glo=; fh=x9Jmr8+FtiCQKUvo/7/je6SkcsG+V48pI/LmEXQOSec=; b=Dt1oq40tNwYIsykGuz/Yb47Lt9pQwoNf22+n3qqo9AYL+cMqnBDKV0xLCqxPPYGqNu zlTgcKCP6MaTrCm81anSpkzWGPdrv0x0DDSMQjB2+j223mVXQavaHuEbaLYeVlSKbNq8 mu06k6DiqedeBF16w3iisYE4h1znEmQqAKnRicEW1rpbkgPHh0WUAAKcm4N8fVRbGDr6 7C9lJEZNOXUMEdgYT9lHP32PivyueOOygIcL/J4Pd6Aaz/i+nzoCnTP9cUuQIt2KkbMt 3ce471CeCWp8AZcu8NT6c6t0hyk6BN/J2P1Jbxcri8FwwMZDbi0DdXPwCdRV2MbPg3T2 dEBQ==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aiven.io; s=google; t=1770800050; x=1771404850; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Px5GZCRW3WWdNkmUpXI5afua/e9EdeKRC6oTtZJ2glo=; b=KrNJv4WpZa/ux5MohAeuNFTLeuOofNcwLBRtQNHVqqz6Z8aQ88pnjuhEzFfhxZm5Tj 40R1Fuh5dqBYH/Dkya8sGtj+uctJw4mn2q0YMZ2JTscORhvu0tt4jKCm4vekaZZpysRl lYFfWWBzdWaqxTcb0sMBtMmJY8TMcS0aHC0KU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770800050; x=1771404850; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Px5GZCRW3WWdNkmUpXI5afua/e9EdeKRC6oTtZJ2glo=; b=R54djddB2DNx5ZSlw+zOdoqXpvYIxdH56OCjnTLuIDtvzFOO7vCug8m4fvKRXZltZ9 cZa9KPI2aha9XUSTGsdQWkdJPbBOA/BEqe25ahLpgeoWScqMdB89bF4UOezmYsOgD3vp yGH8H6wMdWi8rSjAOb0lb1i+GC4qf2Wc8cC5WBcn5rIzID8IhYCdeJEcNppPkOLAtKy5 kpr3Dhr5QHRnCny2OjZ0bxiqKT0sNdlNZaX5V9blZ1rJ36wG4k0vcOrLsxjxebvQyWLN Ip+2Nk8xPWyeY5U59bhzF4mBaumgCguyUfIxJ7fRenKokCJv0NPVDvC9DCHJalIrRvgg HRpQ== X-Gm-Message-State: AOJu0Yw+Jdeof9tPSjNTc+f3APcmGdnTsASz+F6Gsz/FUswGHPzb6lBl d1zw2KwJgiHw4aBenK45ahhbqvMuPwNT5z9Jm8WFUVccz/tR+DCI5wqkInnoGnhnPVhpXHrpEJZ od1LpS2xdFKBYbEbuRV6QZyWJV9Z8dsubUX9jLWDG/dTli7OmzYimvz8= X-Gm-Gg: AZuq6aIWo4UItWm9A1cVwKwKU+LofyC+Dd/h4sA++wICRxzo6Wpb/zFDpGiRh13pGTJ CbubNCqqW2Au1jio59CSahKH7QBzLq6g91gpbkILajOtsBa8W0lhi1GPwIMg18zbHeaXFDz2faG jA6smlU7jisOckvtJONX20LsWEX/mOz7blOQqLTdlKbOTBE7kXThAzMaNgRKjJzrJxEXqrP4uiH fFP7kvqLET9YA5GMCJFQR23x/DchkekHstMcvrr/w71FZ9IMjD4zWpGTZXTUl9NqLriff+zrrhf 7p8Gy/1b X-Received: by 2002:a05:6512:3c86:b0:59e:5917:b161 with SMTP id 2adb3069b0e04-59e5e200adfmr446395e87.12.1770800049582; Wed, 11 Feb 2026 00:54:09 -0800 (PST) MIME-Version: 1.0 From: Egor Voynov Date: Wed, 11 Feb 2026 09:53:58 +0100 X-Gm-Features: AZwV_Qg8b7Qbj5J4przOocFS0a4J9rr2z6v36kr0qfu4qzltO3mkPY3yqBN990s Message-ID: Subject: Access to pg_replication_origin* functions To: pgsql-general@postgresql.org Content-Type: multipart/alternative; boundary="000000000000ec91e7064a888335" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000ec91e7064a888335 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, I have a question regarding access to replication origin functions, such as pg_catalog.pg_replication_origin* (e.g. pg_replication_origin_oid(text)= ) . At the moment, access to these functions has to be granted individually. Should users with the REPLICATION attribute be allowed to execute them by default? Alternatively, would it make sense to grant this access in bulk via an existing role like pg_create_subscription, or perhaps introduce a dedicated predefined role for this purpose? These functions are closely related to replication, but it=E2=80=99s not en= tirely clear what the intended privilege model is here. Any thoughts? Best regards, Egor Voynov --000000000000ec91e7064a888335 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi all,

I have a question regarding access=C2=A0to replication o= rigin functions, such as=C2=A0=C2=A0p= g_catalog.pg_replication_origin* (e.g.=C2=A0pg_replication_ori= gin_oid(text)).

At the moment, a= ccess to these functions has to be granted individually. Should users with = the REPLICATION attribute be allowed to execute them by defaul= t?

Alternatively, would it make sense t= o grant this access in bulk via an existing role like pg_create_subsc= ription, or perhaps introduce a dedicated predefined role for this p= urpose?

These functions are closely rel= ated to replication, but it=E2=80=99s not entirely clear what the intended = privilege model is here.

Any thoughts?<= /p>

Best regards,

Egor Voynov

--000000000000ec91e7064a888335--