Re: access privileges: grant select on (all current and future tables)? - Mailing list pgsql-general

From John Smith
Subject Re: access privileges: grant select on (all current and future tables)?
Date
Msg-id f029597e0709280707n4ccc1960i34653be747eeb162@mail.gmail.com
Whole thread Raw
In response to Re: access privileges: grant select on (all current and future tables)?  ("John Smith" <jayzee.smith@gmail.com>)
Responses Re: access privileges: grant select on (all current and future tables)?  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general
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?

pgsql-general by date:

Previous
From: Henrik
Date:
Subject: Preventing selection of data during transaction
Next
From: "Scott Marlowe"
Date:
Subject: Re: How to avoid: 9.50184e+06