RefLib

Reference library for AI

Back

postgresql_16:7.1.174 SET ROLE

PostgreSQL 16 > Reference > SQL Commands > SET ROLE

set the current user identifier of the current session

SET [ SESSION | LOCAL ] ROLE role_name
SET [ SESSION | LOCAL ] ROLE NONE
RESET ROLE
SET [ SESSION | LOCAL ] ROLE role_name
SET [ SESSION | LOCAL ] ROLE NONE
RESET ROLE

Subsections

Back