RefLib

Reference library for AI

Back

postgresql_16:7.1.175.4 Compatibility

PostgreSQL 16 > Reference > SQL Commands > SET SESSION AUTHORIZATION > Compatibility

The SQL standard allows some other expressions to appear in place of the literal *user_name*, but these options are not important in practice. PostgreSQL allows identifier syntax ("*username*"), which SQL does not. 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.

The privileges necessary to execute this command are left implementation-defined by the standard.

Back