pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Cameron <chris@upnix.com>
To: C. Bensend <benny@bennyvision.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Multiple Servers
Date: Mon, 20 Aug 2001 21:09:07 -0600
Message-ID: <5.1.0.14.0.20010820210330.0358e410@mail.upnix.com> (raw)
In-Reply-To: <27213.998361211@sss.pgh.pa.us>
References: <Pine.BSO.4.33L2.0108202035320.24990-100000@fusion.bennyvision.com>
	<Pine.BSO.4.33L2.0108202035320.24990-100000@fusion.bennyvision.com>

Alright,

Seems the general problem is that people (me and "Benny") want to do what 
can be done with MySQL and be able to add a user, give them their own DB to 
play with, and leave it at that. However, Postgres doesn't seem to have as 
slick of a way to do such a thing because to let a user have control over 
their own database, they would have had to of been able to create the DB. 
And if they were able to create the DB, they'd be able to make others.

I managed to do this (albeit not very gracefully). I created the user 
'test' and game him permission to create DB's. Made a database with his 
username, then took away his ability to create databases. This allowed him 
to fool with his own DB (because he created it), but he could no longer 
create new DB's.

Still, this seems like a bit of a crummy way to accomplish such a thing. I 
haven't been around PostgreSQL long enough to know how development takes 
place, but this is a decent feature to have in a DB I figure.

Thanks for all your suggestions,
Chris




view thread (16+ messages)  latest in thread

Message-ID: <5.1.0.14.0.20010820210330.0358e410@mail.upnix.com>
Permalink:  ../5.1.0.14.0.20010820210330.0358e410@mail.upnix.com/
Also on:    postgresql.org/message-id/5.1.0.14.0.20010820210330.0358e410@mail.upnix.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-admin@postgresql.org
  Cc: chris@upnix.com, benny@bennyvision.com
  Subject: Re: Multiple Servers
  In-Reply-To: <5.1.0.14.0.20010820210330.0358e410@mail.upnix.com>
  References: <Pine.BSO.4.33L2.0108202035320.24990-100000@fusion.bennyvision.com> <5.1.0.14.0.20010820210330.0358e410@mail.upnix.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