| From: | "D(dot) Duccini" <duccini(at)backpack(dot)com> |
|---|---|
| To: | Chris Cameron <chris(at)UpNIX(dot)com> |
| Cc: | pgsql-novice(at)postgresql(dot)org |
| Subject: | RE: User Management |
| Date: | 2001-07-04 23:01:18 |
| Message-ID: | Pine.GSO.4.03.10107041800270.4015-100000@ra.bpsi.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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(at)localhost
> identified by 'joepass';' in MySQL.
>
> Chris
>
> -----Original Message-----
> From: D. Duccini [mailto:duccini(at)backpack(dot)com]
> Sent: Wednesday, July 04, 2001 4:48 PM
> To: Chris Cameron
> Cc: pgsql-novice(at)postgresql(dot)org
> Subject: Re: [NOVICE] User Management
>
>
>
> use the "createuser" command
>
-----------------------------------------------------------------------------
david(at)backpack(dot)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!"
-----------------------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Chris Cameron | 2001-07-04 23:02:10 | RE: User Management |
| Previous Message | D. Duccini | 2001-07-04 22:47:41 | Re: User Management |