Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 335 Bytes

who-is-the-current-user.md

File metadata and controls

21 lines (15 loc) · 335 Bytes

Who Is The Current User

You can determine the current user of a psql session by selecting on the current_user

> select current_user;

  current_user
----------------
   test_user

You can also select on the user which is an alias of current_user

> select user;

     user
----------------
   test_user