Re: Does a user have usage on a schema?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Does a user have usage on a schema?
Дата
Msg-id 20050629153635.GA5571@wolff.to
обсуждение исходный текст
Ответ на Does a user have usage on a schema?  ("Walker, Jed S" <Jed_Walker@cable.comcast.com>)
Список pgsql-novice
On Wed, Jun 29, 2005 at 08:57:32 -0600,
  "Walker, Jed S" <Jed_Walker@cable.comcast.com> wrote:
> How can I query the database to determine if a user has usage on a
> particular schema, and how can I query the database to find out all the
> schemas a user has usage on?

The has_schema_privilege function will allow you to check if a user
has access to a schema. You can use pg_users to get a list of all
users and pg_namespace can be used to get a list of all schemas.

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

Предыдущее
От: Andreas Kretschmer
Дата:
Сообщение: Re: [despammed] Does a user have usage on a schema?
Следующее
От: "Walker, Jed S"
Дата:
Сообщение: Re: Does a user have usage on a schema?