Difference between revisions of "PostgreSQL SET"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
== Examples ==
 
== Examples ==
 
  [[SET SESSION AUTHORIZATION]]  
 
  [[SET SESSION AUTHORIZATION]]  
 +
[[SET TIME ZONE]] 'Europe/Rome';
  
 
  [[SET]] SESSION AUTHORIZATION user_name
 
  [[SET]] SESSION AUTHORIZATION user_name

Revision as of 13:26, 21 September 2022

wikipedia:SET change a run-time parameter

SET [ SESSION | LOCAL ] configuration_parameter { TO | = } { value | 'value' | DEFAULT }
SET [ SESSION | LOCAL ] TIME ZONE { timezone | LOCAL | DEFAULT }

Examples

SET SESSION AUTHORIZATION 
SET TIME ZONE 'Europe/Rome';
SET SESSION AUTHORIZATION user_name

Output:
SET

Related

See also

Advertising: