mirror of
https://github.com/postgres/postgres.git
synced 2025-12-22 17:42:17 +03:00
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
This commit is contained in:
@@ -237,7 +237,7 @@ PostgreSQL documentation
|
||||
<literal>server:/some/path</literal>, the backup will be stored on
|
||||
the machine where the server is running in the
|
||||
<literal>/some/path</literal> directory. Storing a backup on the
|
||||
server requires superuser privileges or being granted the
|
||||
server requires superuser privileges or having privileges of the
|
||||
<literal>pg_write_server_files</literal> role. If the target is set to
|
||||
<literal>blackhole</literal>, the contents are discarded and not
|
||||
stored anywhere. This should only be used for testing purposes, as you
|
||||
|
||||
Reference in New Issue
Block a user