Re: How to get to know the current user account is superuser or not?

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: How to get to know the current user account is superuser or not?
Дата
Msg-id CA+U5nMLry0zruwuuV9TJHQm-dPBcBhyLW2vJ8QbUfUzXrqD_Uw@mail.gmail.com
обсуждение исходный текст
Ответ на How to get to know the current user account is superuser or not?  (Siva Palanisamy <siva_p@hcl.com>)
Список pgsql-general
On Mon, Aug 8, 2011 at 10:36 AM, Siva Palanisamy <siva_p@hcl.com> wrote:

> I was provided with a user account to access postgresql. I want to process
> some high-level operations that might need a superuser/admin privileged
> access. How to get to know the user account I was provided having what kind
> of privileges? It looks like I don’t have super user account! And I want to
> confirm this at the earliest.

The best thing is to spend a few minutes reading the section on
Functions, which details more than 2000 functions designed to help you
with this question and many others.
http://www.postgresql.org/docs/9.1/static/functions.html

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

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

Предыдущее
От: Siva Palanisamy
Дата:
Сообщение: How to get to know the current user account is superuser or not?
Следующее
От: Greg Williamson
Дата:
Сообщение: Re: Backup & Restore a database in PostgreSQL