Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres show current role

SELECT current_user;  -- user name of current execution context
SELECT session_user;  -- session user name
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #postgres #show #current #role
ADD COMMENT
Topic
Name
8+8 =