pgsql: Set GUC "is_superuser" in all processes that set AuthenticatedUs - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Set GUC "is_superuser" in all processes that set AuthenticatedUs
Date
Msg-id E1r00Pf-004Bay-UZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Set GUC "is_superuser" in all processes that set AuthenticatedUserId.

It was always false in single-user mode, in autovacuum workers, and in
background workers.  This had no specifically-identified security
consequences, but non-core code or future work might make it
security-relevant.  Back-patch to v11 (all supported versions).

Jelte Fennema-Nio.  Reported by Jelte Fennema-Nio.

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ecd5d240c5965b5127e1c2fdf93c9fc61f2d1acd

Modified Files
--------------
src/backend/utils/init/miscinit.c | 8 ++++++++
1 file changed, 8 insertions(+)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Translation updates
Next
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Migrate logical slots to the new node during an upgrade.