Use has_privs_for_roles for predefined role checks: round 2
Joe Conway <mail@joeconway.com>
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
| Path | Change | +/− |
|---|---|---|
| contrib/basebackup_to_shell/basebackup_to_shell.c | modified | +2 −2 |
| doc/src/sgml/ref/pg_basebackup.sgml | modified | +1 −1 |
| src/backend/replication/basebackup_server.c | modified | +2 −2 |
Documentation touched
Discussion
Cited messages not in the archive:
flat/CAGB+Vh4Zv_TvKt2tv3QNS6tUM_F_9icmuj0zjywwcgVi4PAhFA@mail.gmail.com