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 1vgNWm-00BZQb-0Q for pgsql-bugs@arkaria.postgresql.org; Thu, 15 Jan 2026 13:36:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vgNWj-00H2ab-33 for pgsql-bugs@arkaria.postgresql.org; Thu, 15 Jan 2026 13:36:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vgNWj-00H2aT-2A for pgsql-bugs@lists.postgresql.org; Thu, 15 Jan 2026 13:36:41 +0000 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vgNWh-000clE-17 for pgsql-bugs@lists.postgresql.org; Thu, 15 Jan 2026 13:36:41 +0000 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-4040996405eso542376fac.2 for ; Thu, 15 Jan 2026 05:36:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768484197; x=1769088997; darn=lists.postgresql.org; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=qqJCH/BHrK9NDHNHfoAWM6s80f27CkvErsEtcP/MMxE=; b=h/Q9cIMRG9K/AZwMKpWwzhi5HajjIAMJnrZLMAlCOI2i/nj54jcg7i6ffO4id8AXiz Y3WNHghC9P5oXkdGO+Q0Ly5oDZ233sOLrNuzHzpmopBlg/xqPqj3b40u1EEOPUAD105F SgHk4MI0ubmsHuDwCP+lw+MPX8NY6YbH8xSFuzgFp+ukssR4Z9AloUwqcfBFqDsgXE8f 5WKODcWJgIRD4xlaTOmpqGOJTmFW5qL7m2hkP5ZLgMl1AzbgrvVkLpHN+0s9+9PS8ruZ fjF8YdYqm+1XgUWV7uiPVhUObviSIJqxzxjfUZu6Hw18KpzEQBltHytTPJAC/FVn1tnj xs+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768484197; x=1769088997; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qqJCH/BHrK9NDHNHfoAWM6s80f27CkvErsEtcP/MMxE=; b=BfiF1jKPS1aV8U1bzznNME+KGq+ZUca+9esy21EzGK0gnL4QVqvyEmmrnCakvhErVd yEei1MRigyCBxwZk4Oet21WAr0tPEOTasRws54vPcfip1UF1my/iEku6ociRD5hIqxUj v/FlNy12tZVEZMzDpY7XymbcszIXZMatqdmTm/STZ+Y80TLMqrsdSrtbKCZpbXIU8p1k Q+Rgiox7i9yDAdAOXC192OSBPzysnMGNSXWUuaPUwN/xPrd7q4iblXDKflnXV/4lwcne fc6DUWfIAzZRueCV6+WI6YGfvbvagra2oLDeVhmcxKXfMIC0Acs1xe9nx75jwwM57Aww 7f0w== X-Forwarded-Encrypted: i=1; AJvYcCWoY75EgiFAwPkPmXYbIhlL9WzuLU9CzisMNNhQzZR/+Ps8L7dB4Bt4vFC78ZSQyyRgnwejuzJRDsql@lists.postgresql.org X-Gm-Message-State: AOJu0Yypk9MiXUhrSzu1+91XU1qBEoF1QKekP0Pq7xeqqjAKoLu/Xbvv 1xviGLNJ6XEX9b6l9Rd6nQH6ww2ZVzBF1NFWC9eXYHODPgnD2rAUhGyP4VOenr9DK1zNwhxCHZY d4rsbrjiJnPu8qfNH5nc04MuLX+PcxLI= X-Gm-Gg: AY/fxX6Kfr3t3uNv/LF3vMkTle6VOUIKtl2zsBtdpOqBx9E884g2nZwJm4jKWvvDqCs mVbF3CoveTS/dvShMOo8ZTpszTA1oogYJlxJ/g7p5GM1mjJd+z5OFfOOYeOzIVd1Ca2tUMRCz8I GEM5q9ehf9pf+z1mFoo3V3VyNfPG8BjaIFGkadcNowYsWMoAkxKj9X51Y9UDT6d1PxmjV6VtD0s FktJg5Drj8dvTnTOONGzp3e1GoxKCZR5z06W5/PRYhYen/pMvt16Acoi2t3jVjo1hMdLdH6F156 nOZu0eo= X-Received: by 2002:a05:6820:1508:b0:659:9a49:8ec2 with SMTP id 006d021491bc7-66100715820mr4464831eaf.70.1768484196510; Thu, 15 Jan 2026 05:36:36 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ac9:7b50:0:b0:619:b970:e659 with HTTP; Thu, 15 Jan 2026 05:36:35 -0800 (PST) In-Reply-To: <19379-089536632927293f@postgresql.org> References: <19379-089536632927293f@postgresql.org> From: "David G. Johnston" Date: Thu, 15 Jan 2026 06:36:35 -0700 X-Gm-Features: AZwV_QjQ-rNjJ6gUbj6cFEZcc_oiGwsePlDK0axYkMMmHmWoga9J9GmrTxxFGf4 Message-ID: Subject: BUG #19379: Role pg_read_all_data don't allowed read large objects To: "long76.git@mail.ru" , "pgsql-bugs@lists.postgresql.org" Content-Type: multipart/alternative; boundary="00000000000052f19f06486d505f" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000052f19f06486d505f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thursday, January 15, 2026, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 19379 > Logged by: Misha Shaygu > Email address: long76.git@mail.ru > PostgreSQL version: 17.7 > Operating system: Kubuntu 24.04 > Description: > > My goal: create role for backup any database on server > > Steps: > 1. CREATE USER backup_user; > 2. GRANT pg_read_all_data TO backup_user; > 3. pg_dump my_db > 4. got error to read large object > > Following by links > https://www.postgresql.org/docs/17/predefined-roles.html > https://www.postgresql.org/docs/17/lo-implementation.html > "SELECT privileges are required to read a large object" and role > "pg_read_all_data" grant it, but it don't work! > > Please fix it, thanks! > The docs you link note that all data is =E2=80=9Ctables, views, sequences= =E2=80=9D. Large objects are not listed. Maybe that means the name is a bit misleading but it=E2=80=99s working as documented. Likewise, the LO page doesn=E2=80=99t say anything about read all being app= licable. David J. --00000000000052f19f06486d505f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thursday, January 15, 2026, PG Bug reporting form <noreply@postgresql.org> wr= ote:
The following bug has been logged on= the website:

Bug reference:=C2=A0 =C2=A0 =C2=A0 19379
Logged by:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Misha Shaygu
Email address:=C2=A0 =C2=A0 =C2=A0 long76.git@mail.ru
PostgreSQL version: 17.7
Operating system:=C2=A0 =C2=A0Kubuntu 24.04
Description:=C2=A0 =C2=A0 =C2=A0 =C2=A0

My goal: create role for backup any database on server

Steps:
1. CREATE USER backup_user;
2. GRANT pg_read_all_data TO backup_user;
3. pg_dump my_db
4. got error to read large object

Following by links
https://www.postgresql.org/docs/17/predefined-roles.html
https://www.postgresql.org/docs/17/lo-implementation.html=
"SELECT privileges are required to read a large object" and role<= br> "pg_read_all_data" grant it, but it don't work!

Please fix it, thanks!

The docs you link note that all data is = =E2=80=9Ctables, views, sequences=E2=80=9D.=C2=A0 Large objects are not lis= ted.=C2=A0 Maybe that means the name is a bit misleading but it=E2=80=99s w= orking as documented.

Likewise, the LO page doesn= =E2=80=99t say anything about read all being applicable.

David J.
=C2=A0
--00000000000052f19f06486d505f--