NAME SET_ROLE - set the current user identifier of the current session SYNOPSIS SET [ SESSION ... identifier or a string literal. After SET ROLE , permissions checking for SQL comm…granted role using the SET ROLE command. If a role is an indirect member ... another role, it can use SET ROLE to change to that role only if theremember role would be able to SET ROLE to the createdb role and then create ... GROUP role_name [, ...] SEE ALSO SET ROLE ( SET_ROLE (7)), ALTER ROLE ( ALTER_ROLEalso be changed by SET ROLE . The current user identifier is relevant for permission checking ... defined by the standard. SEE ALSO SET ROLE ( SET_ROLEonly happens at login time; executing SET ROLE or SET SESSION AUTHORIZATION does not cause ... settings take effect only at login; SET ROLE and SET SESSION AUTHORIZATION do not pro…owner, you must be able to SET ROLE to the new owning roleowner, you must be able to SET ROLE to the new owning role, and thattarget security context -r , --role = ROLE set role ROLE in the target security contextcauses pg_restore to issue a SET ROLE rolename command after connecting to the databaseowner, you must be able to SET ROLE to the new owning role, and thatowner, you must be able to SET ROLE to the new owning role, and thatowner, you must be able to SET ROLE to the new owning role, and thatowner, you must be able to SET ROLE to the new owning roleowner, you must be able to SET ROLE to the new owning role, and thatcauses pg_dumpall to issue a SET ROLE rolename command after connecting to the databasecauses pg_dump to issue a SET ROLE rolename command after connecting to the databaseowner, you must be able to SET ROLE to the new owning role, and that