This has been working well so far, thanks.
Um, looking at http://www.postgresql.org/idocs/index.php?privileges.html
it seems to be that I'm not actually able to do what I want. Am I
correct in believing that to let a user create tables and change tables
in a database, they actually have to had created it? The best I can do
is grant privileges on premade tables?
Thanks,
Chris
-----Original Message-----
From: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org]On Behalf Of D. Duccini
Sent: Wednesday, July 04, 2001 5:01 PM
To: Chris Cameron
Cc: pgsql-novice@postgresql.org
Subject: RE: [NOVICE] User Management
postgres=# \h grant
Command: GRANT
Description: Grants access privilege to a user, a group or all users
Syntax:
GRANT privilege [, ...] ON object [, ...]
TO { PUBLIC | GROUP group | username }
> That doesn't solve my problem of whoever creates the database owns the
> database.
>
> I'd like to have user 'joe' have access /only/ to the database
'chris'.
> As far as I can tell the only way to do this is have 'joe' create the
> database.
>
> I'm looking for the equivalent to 'GRANT ALL ON chris to joe@localhost
> identified by 'joepass';' in MySQL.
>
> Chris
>
> -----Original Message-----
> From: D. Duccini [mailto:duccini@backpack.com]
> Sent: Wednesday, July 04, 2001 4:48 PM
> To: Chris Cameron
> Cc: pgsql-novice@postgresql.org
> Subject: Re: [NOVICE] User Management
>
>
>
> use the "createuser" command
>
------------------------------------------------------------------------
-----
david@backpack.com BackPack Software, Inc.
www.backpack.com
+1 651.645.7550 voice "Life is an Adventure.
+1 651.645.9798 fax Don't forget your BackPack!"
------------------------------------------------------------------------
-----
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html