RefLib

Reference library for AI

Back

postgresql_16:7.1.174.4 Compatibility

PostgreSQL 16 > Reference > SQL Commands > SET ROLE > Compatibility

PostgreSQL allows identifier syntax ("*rolename*"), while the SQL standard requires the role name to be written as a string literal. SQL does not allow this command during a transaction; PostgreSQL does not make this restriction because there is no reason to. The SESSION and LOCAL modifiers are a PostgreSQL extension, as is the RESET syntax.

Back