Use has_privs_for_roles for predefined role checks: round 2

Joe Conway <mail@joeconway.com>

Commit: 9752436f049430428464e22dcf837e9c6fa4e513
Author: Joe Conway <mail@joeconway.com>
Date: 2022-04-02T17:24:38Z
Releases: 15.0
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

Files

Documentation touched

Discussion

Cited messages not in the archive: flat/CAGB+Vh4Zv_TvKt2tv3QNS6tUM_F_9icmuj0zjywwcgVi4PAhFA@mail.gmail.com