postgresql/src
Nathan Bossart d981976027 Allow pg_{read,write}_all_data to access large objects.
Since the initial goal of pg_read_all_data was to be able to run
pg_dump as a non-superuser without explicitly granting access to
every object, it follows that it should allow reading all large
objects.  For consistency, pg_write_all_data should allow writing
all large objects, too.

Author: Nitin Motiani <nitinmotiani@google.com>
Co-authored-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Dilip Kumar <dilipbalaut@gmail.com>
Discussion: https://postgr.es/m/CAH5HC96dxAEvP78s1-JK_nDABH5c4w2MDfyx4vEWxBEfofGWsw%40mail.gmail.com
2026-02-23 14:55:21 -06:00
..
backend Allow pg_{read,write}_all_data to access large objects. 2026-02-23 14:55:21 -06:00
bin Disallow CR and LF in database, role, and tablespace names 2026-02-23 11:19:13 -05:00
common meson: allow disabling building/installation of static libraries. 2026-02-23 16:45:40 +01:00
fe_utils Disallow CR and LF in database, role, and tablespace names 2026-02-23 11:19:13 -05:00
include Use LOCKMODE in parse_relation.c/.h 2026-02-23 21:25:55 +01:00
interfaces libpq: Grease the protocol by default 2026-02-23 10:48:20 -08:00
makefiles Restore AIX support. 2026-02-23 13:34:22 -05:00
pl Fix additional fallthrough warnings from clang 2026-02-23 07:40:19 +01:00
port Restore AIX support. 2026-02-23 13:34:22 -05:00
template Restore AIX support. 2026-02-23 13:34:22 -05:00
test Allow pg_{read,write}_all_data to access large objects. 2026-02-23 14:55:21 -06:00
timezone Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
tools Restore AIX support. 2026-02-23 13:34:22 -05:00
tutorial Force standard_conforming_strings to always be ON. 2026-01-21 15:08:38 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in tests: Add a test C++ extension module 2026-01-20 16:42:30 +01:00
Makefile.shlib Restore AIX support. 2026-02-23 13:34:22 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00