Thread: pgsql: Use has_privs_for_roles for predefined role checks: round 2

pgsql: Use has_privs_for_roles for predefined role checks: round 2

From
Joe Conway
Date:
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@mail.gmail.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(-)