Note that pg_dump will set row_security to OFF by default, to ensure all contents of a table are dumped out. You must be a superuser to create a new role having the BYPASSRLS attribute. These clauses determine whether a role bypasses every row-level security (RLS) policy. You must be a superuser to create a new role having the REPLICATION attribute. If not specified, NOREPLICATION is the default. A role having the REPLICATION attribute is a very highly privileged role, and should only be used on roles actually used for replication. A role must have this attribute (or be a superuser) in order to be able to connect to the server in replication mode (physical or logical replication) and in order to be able to create or drop replication slots. These clauses determine whether a role is a replication role. If not specified, NOLOGIN is the default, except when CREATE ROLE is invoked through its alternative spelling CREATE USER. Roles without this attribute are useful for managing database privileges, but are not users in the usual sense of the word. A role having the LOGIN attribute can be thought of as a user. These clauses determine whether a role is allowed to log in that is, whether the role can be given as the initial session authorization name during client connection. If not specified, INHERIT is the default. Without INHERIT, membership in another role only grants the ability to SET ROLE to that other role the privileges of the other role are only available after having done so. A role with the INHERIT attribute can automatically use whatever database privileges have been granted to all roles it is directly or indirectly a member of. These clauses determine whether a role “ inherits” the privileges of roles it is a member of. If not specified, NOCREATEROLE is the default. A role with CREATEROLE privilege can also alter and drop other roles. These clauses determine whether a role will be permitted to create new roles (that is, execute CREATE ROLE). If not specified, NOCREATEDB is the default. Specifying NOCREATEDB will deny a role the ability to create databases. If CREATEDB is specified, the role being defined will be allowed to create new databases. These clauses define a role's ability to create databases. If not specified, NOSUPERUSER is the default. You must yourself be a superuser to create a new superuser. Superuser status is dangerous and should be used only when really needed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |