Re: A question about PG Authorization - Mailing list pgsql-admin

From bangh
Subject Re: A question about PG Authorization
Date
Msg-id 3C4D97CF.7659791E@baileylink.net
Whole thread Raw
In response to A question about PG Authorization  ("Dong Meng" <eddy@securities.com>)
List 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
sometable/view? 
>
> thank you
>
> Eddy
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html


pgsql-admin by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: \d command
Next
From: "lonh SENG"
Date:
Subject: Execute A String of Query