Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f7L3vIP60810 for ; Mon, 20 Aug 2001 23:57:18 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.10.1/8.10.1) id f7L3uuS09849; Mon, 20 Aug 2001 23:56:56 -0400 (EDT) From: Bruce Momjian Message-Id: <200108210356.f7L3uuS09849@candle.pha.pa.us> Subject: Re: Multiple Servers In-Reply-To: <5.1.0.14.0.20010820210330.0358e410@mail.upnix.com> "from Chris Cameron at Aug 20, 2001 09:09:07 pm" To: Chris Cameron Date: Mon, 20 Aug 2001 23:56:56 -0400 (EDT) CC: "C. Bensend" , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200108/82 X-Sequence-Number: 2018 > 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. This is a valid inconvenience. Seems we should allow a createdb option to set the database owner. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026