From: | bangh <banghe(at)baileylink(dot)net> |
---|---|
To: | eddy(at)securities(dot)com |
Cc: | Randall Shutt <randall(at)cscc(dot)net>, pgsql-admin(at)postgresql(dot)org |
Subject: | Re: A question about PG Authorization |
Date: | 2002-01-22 16:48:15 |
Message-ID: | 3C4D97CF.7659791E@baileylink.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Eddy,
The command you need is:
psql> grant update on table_name to username;
Banghe
Dong Meng wrote:
> Dear Guys,
>
> May I have a question about the authorization of psql?
>
> By using '\z' in psql context, I can get the description of authorization about each table/view.
>
>
> r -- SELECT
> w -- UPDATE/DELETE
> a -- INSERT
> R -- RULE
> arwR -- ALL
>
> Authoriztion switches are specified as above, but what should I do if I want to grant 'update' without 'delete' to some table/view?
>
> thank you
>
> Eddy
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
From | Date | Subject | |
---|---|---|---|
Next Message | lonh SENG | 2002-01-23 02:12:40 | Execute A String of Query |
Previous Message | Stephan Szabo | 2002-01-22 16:15:11 | Re: \d command |