PostgreSQL/User Previliege/Current User
Displays the current user logged in
postgres=#
postgres=# -- Displays the current user logged in:
postgres=#
postgres=# SELECT CURRENT_USER AS myself;
myself
----------
postgres
(1 row)
postgres=#
postgres=#
postgres=# -- Displays the current user logged in:
postgres=#
postgres=# SELECT CURRENT_USER AS myself;
myself
----------
postgres
(1 row)
postgres=#