From: Josh Berkus <josh@agliodbs.com>
To: pgsql-testers@postgresql.org
Subject: Re: testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges?
Date: Tue, 11 May 2010 16:04:27 -0700
Message-ID: <4BE9E27B.7080303@agliodbs.com> (raw)
In-Reply-To: <149044522.9106971273618540977.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
References: <149044522.9106971273618540977.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
On 5/11/10 3:55 PM, Lou Picciano wrote:
> Josh,
>
> I'm beating a dead horse, I know:
>
> Then, what is the effect of:
> GRANT ALL ON DATABASE fubar TO "Mr. Dataguy";
> GRANT ALL ON DATABASE fubar TO "Mrs. Datareader"; etc?
>
> Isn't the above how we've been granting wholesale access to a db? I
> must be missing something.
That grants CONNECT, USE and CREATE on the database to the user. It
says nothing about individual objects. If you want to grant on all
objects in a database, see 9.0's GRANT ON ALL feature.
--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com
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-testers@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges?
In-Reply-To: <4BE9E27B.7080303@agliodbs.com>
References: <149044522.9106971273618540977.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> <4BE9E27B.7080303@agliodbs.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