pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Lou Picciano <loupicciano@comcast.net>
Cc: 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 14:15:02 -0700
Message-ID: <4BE9C8D6.9040603@agliodbs.com> (raw)
In-Reply-To: <1987554247.9039561273610460655.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
References: <1987554247.9039561273610460655.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>

Lou,

> *[Comments]:* Is this consistent behavior?  Is it necessary to
> explicitly grant privileges to each object in a database?  

This is correct, and how it's been for PostgreSQL since at least 7.2.

> We are aware of the new ALTER DEFAULT PRIVILEGES command, but, per docs,
> it only affects  tables (including views), sequences, and functions,
> correct?  
> IE, it cannot affect database privileges.

That's correct.  However, it's only necessary to set database priveleges
once.

-- 
                                  -- Josh Berkus
                                     PostgreSQL Experts Inc.
                                     http://www.pgexperts.com



view thread (4+ messages)  latest in thread

Message-ID: <4BE9C8D6.9040603@agliodbs.com>
Permalink:  ../4BE9C8D6.9040603@agliodbs.com/
Also on:    postgresql.org/message-id/4BE9C8D6.9040603@agliodbs.com

 · 

reply

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, loupicciano@comcast.net
  Subject: Re: testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges?
  In-Reply-To: <4BE9C8D6.9040603@agliodbs.com>
  References: <1987554247.9039561273610460655.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> <4BE9C8D6.9040603@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