RE: User Management

D. Duccini <duccini@backpack.com>

From: "D. Duccini" <duccini@backpack.com>
To: Chris Cameron <chris@UpNIX.com>
Cc: pgsql-novice@postgresql.org
Date: 2001-07-04T23:01:18Z
Lists: pgsql-novice
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!"   
-----------------------------------------------------------------------------