SQL and Databases for Data Science
Testing linguist settings for Postgres
Set role for the current session to the new_role
SET ROLE new_role;
Grant role_1 permission to set its role as role_2:
GRANT role_2 TO role_1;
Set role for the current session to the new_role
SET ROLE new_role;