How to obtain info about the user?

Поиск
Список
Период
Сортировка
От Ismael Almaraz Ezparza
Тема How to obtain info about the user?
Дата
Msg-id BLU103-W6067C84BCFD5F7C736620BA3910@phx.gbl
обсуждение исходный текст
Ответы Re: How to obtain info about the user?  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
Hi there,
I'm connecting to postgres from java using the postgres driver...
and I need to get the info about the user that is connected to the DB, lets say
for example: name, groups, permisions (select, update, execute)...

Does anyone knows how can I get that info?

Also, if the user is in the group "admin", I need to geat a list of users and
the permissions of each... just like pgadmin3 does...
_________________________________________________________________
P.D. Checa las nuevas fotos de mi Space
http://home.services.spaces.live.com/

В списке pgsql-general по дате отправления:

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: functional index not used, looping simpler query just faster
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: How to obtain info about the user?