Re: Identify Login User & Permissions

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Identify Login User & Permissions
Дата
Msg-id 4C8FD9D4.6080308@lelarge.info
обсуждение исходный текст
Ответ на Identify Login User & Permissions  (Carlos Mennens <carlos.mennens@gmail.com>)
Ответы Re: Identify Login User & Permissions
Список 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 по дате отправления:

Предыдущее
От: Carlos Mennens
Дата:
Сообщение: Identify Login User & Permissions
Следующее
От: Carlos Mennens
Дата:
Сообщение: Re: Identify Login User & Permissions