pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Murray Cumming <murrayc@murrayc.com>
To: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: per-database groups? (was Discovering privileges)
Date: Mon, 21 Mar 2005 19:38:00 +0100
Message-ID: <1111430281.5554.38.camel@localhost.localdomain> (raw)
In-Reply-To: <20050320170228.GA19192@winnie.fuhr.org>
References: <1088799354.3319.110.camel@murrayc_debian>
	<Pine.LNX.4.56.0407021856250.5008@screw>
	<1111330231.5820.4.camel@localhost.localdomain>
	<20050320154247.GA18843@winnie.fuhr.org>
	<1111337130.5820.7.camel@localhost.localdomain>
	<20050320170228.GA19192@winnie.fuhr.org>

On Sun, 2005-03-20 at 10:02 -0700, Michael Fuhr wrote:
> On Sun, Mar 20, 2005 at 05:45:29PM +0100, Murray Cumming wrote:
> > On Sun, 2005-03-20 at 08:42 -0700, Michael Fuhr wrote:
> > >
> > > You could look at pg_class.relacl,
> > 
> > I can't make much sense of that so far. Ca you give any clues on how
> > that works?
> 
> See "Notes" in the GRANT documentation:
> 
> http://www.postgresql.org/docs/8.0/interactive/sql-grant.html

I notice that users and groups are per-cluster rather than per-database.
Is there any way to create users and groups that are not available to
other databases on the same cluster? I would expect databases to be
completely independent, regardless of whether they are available from
the same host and port.

This seems like it should be theoretically possible - after all, you can
not even connect to postgres unless you specify a database in the
connection.

-- 
Murray Cumming
murrayc@murrayc.com
www.murrayc.com
www.openismus.com




view thread (3+ messages)  latest in thread

Message-ID: <1111430281.5554.38.camel@localhost.localdomain>
Permalink:  ../1111430281.5554.38.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1111430281.5554.38.camel@localhost.localdomain

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: murrayc@murrayc.com
  Subject: Re: per-database groups? (was Discovering privileges)
  In-Reply-To: <1111430281.5554.38.camel@localhost.localdomain>

* 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