BUG #19379: Role pg_read_all_data don't allowed read large objects
David G. Johnston <david.g.johnston@gmail.com>
From: "David G. Johnston" <david.g.johnston@gmail.com>
To: "long76.git@mail.ru" <long76.git@mail.ru>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2026-01-15T13:36:35Z
Lists: pgsql-bugs
On Thursday, January 15, 2026, PG Bug reporting form <noreply@postgresql.org> 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 “tables, views, sequences”. Large objects are not listed. Maybe that means the name is a bit misleading but it’s working as documented. Likewise, the LO page doesn’t say anything about read all being applicable. David J.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add pg_read_all_data and pg_write_all_data roles
- 6c3ffd697e22 14.0 cited