From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dan Tenenbaum <dandante@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: the "users" group and restricting privileges
Date: Tue, 29 Nov 2005 19:21:31 -0500
Message-ID: <11392.1133310091@sss.pgh.pa.us> (raw)
In-Reply-To: <65029d820511291530mc4a0f62nc1de5cf58d110765@mail.gmail.com>
References: <65029d820511291530mc4a0f62nc1de5cf58d110765@mail.gmail.com>
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: tgl@sss.pgh.pa.us, dandante@gmail.com
Subject: Re: the "users" group and restricting privileges
In-Reply-To: <11392.1133310091@sss.pgh.pa.us>
References: <65029d820511291530mc4a0f62nc1de5cf58d110765@mail.gmail.com> <11392.1133310091@sss.pgh.pa.us>
* 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