Re: Identify Login User & Permissions - Mailing list pgsql-general

From Guillaume Lelarge
Subject Re: Identify Login User & Permissions
Date
Msg-id 4C8FD9D4.6080308@lelarge.info
Whole thread Raw
In response to Identify Login User & Permissions  (Carlos Mennens <carlos.mennens@gmail.com>)
Responses Re: Identify Login User & Permissions  (Carlos Mennens <carlos.mennens@gmail.com>)
List pgsql-general
Le 14/09/2010 22:01, Carlos Mennens a écrit :
> I can't find in the docs or using Google how one can identify which
> user is currently logged in to psql. I search for the command that if
> for some reason I forget which user I am logged in as, rather than
> logging out of PostgreSQL, there has to be a command that shows me who
> I am and also what kind of special permissions my current user has.
> Can anyone please assist me or point me in the right direction?
>

SELECT current_user;


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

pgsql-general by date:

Previous
From: Carlos Mennens
Date:
Subject: Identify Login User & Permissions
Next
From: Carlos Mennens
Date:
Subject: Re: Identify Login User & Permissions