| От | Joshua D. Drake |
|---|---|
| Тема | Re: How to obtain info about the user? |
| Дата | |
| Msg-id | 1215706539.10376.180.camel@jd-laptop обсуждение исходный текст |
| Ответ на | How to obtain info about the user? (Ismael Almaraz Ezparza <ismaelpsp@hotmail.com>) |
| Ответы |
Re: How to obtain info about the user?
|
| Список | pgsql-general |
On Thu, 2008-07-10 at 11:08 -0500, Ismael Almaraz Ezparza wrote: > 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... I suggest you turn on query logging to see how pgadmin3 does it. Joshua D. Drake
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера