From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Use has_privs_for_roles for predefined role checks: round 2 |
Date: | 2022-04-02 17:25:12 |
Message-ID: | E1nahUt-0000nU-Bx@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Use has_privs_for_roles for predefined role checks: round 2
Similar to commit 6198420ad, replace is_member_of_role with
has_privs_for_role for predefined role access checks in recently
committed basebackup code. In passing fix a double-word error
in a nearby comment.
Discussion: https://postgr.es/m/flat/CAGB+Vh4Zv_TvKt2tv3QNS6tUM_F_9icmuj0zjywwcgVi4PAhFA(at)mail(dot)gmail(dot)com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9752436f049430428464e22dcf837e9c6fa4e513
Modified Files
--------------
contrib/basebackup_to_shell/basebackup_to_shell.c | 4 ++--
doc/src/sgml/ref/pg_basebackup.sgml | 2 +-
src/backend/replication/basebackup_server.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2022-04-02 17:34:01 | pgsql: vacuumlazy.c: Clean up variable declarations. |
Previous Message | Alvaro Herrera | 2022-04-02 17:09:45 | pgsql: Allow CLUSTER on partitioned tables |