Re: access privileges: grant select on (all current and future tables)?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: access privileges: grant select on (all current and future tables)?
Дата
Msg-id 20070928142341.GF18001@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: access privileges: grant select on (all current and future tables)?  ("John Smith" <jayzee.smith@gmail.com>)
Список pgsql-general
John Smith escribió:
> On 9/27/07, John Smith <jayzee.smith@gmail.com> wrote:
> > On 9/27/07, John Smith <jayzee.smith@gmail.com> wrote:
> > > how'd i "grant select on (all current and future tables inside a
> > > private schema) to username" without turning that user into superuser?
> > > "grant usage on..." doesn't do it.
> > >
> > > or do i, everytime i batch/auto create the tables, do a "grant select
> > > on (new table) to username"?
> >
> > also how'd i find access privileges for a schema. something like "\z
> > schemaname" not "\dp schemaname."?
>
> ok let me ask this one other way:
> when i "drop user username" which system tables does it access to then reply:
> ERROR: role "username" cannot be dropped...
> DETAIL: access to schema schemaname
>
> where is this "access to schema..." info stored?

pg_shdepend


--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: How to avoid: 9.50184e+06
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: Debian problem...