From: Dan Tenenbaum <dandante@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: the "users" group and restricting privileges
Date: Tue, 29 Nov 2005 18:36:59 -0800
Message-ID: <65029d820511291836m34e12bceucbba4c120a2a8d9f@mail.gmail.com> (raw)
In-Reply-To: <11392.1133310091@sss.pgh.pa.us>
References: <65029d820511291530mc4a0f62nc1de5cf58d110765@mail.gmail.com>
<11392.1133310091@sss.pgh.pa.us>
Thanks to both you and Jim--this was the missing piece that made things
work.
On 11/29/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Dan Tenenbaum <dandante@gmail.com> writes:
> > ERROR: permission denied for schema myschema
> > What do I need to do to get the correct permissions?
>
> GRANT USAGE ON SCHEMA myschema TO whoever
>
> Schema access is comparable to directory access in a filesystem: if you
> can't look into the directory, it doesn't matter what privileges you
> might have for the individual files in it.
>
> regards, tom lane
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: dandante@gmail.com
Subject: Re: the "users" group and restricting privileges
In-Reply-To: <65029d820511291836m34e12bceucbba4c120a2a8d9f@mail.gmail.com>
References: <65029d820511291530mc4a0f62nc1de5cf58d110765@mail.gmail.com> <11392.1133310091@sss.pgh.pa.us> <65029d820511291836m34e12bceucbba4c120a2a8d9f@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox