Re: A question about PG Authorization

Поиск
Список
Период
Сортировка
От bangh
Тема Re: A question about PG Authorization
Дата
Msg-id 3C4D97CF.7659791E@baileylink.net
обсуждение исходный текст
Ответ на A question about PG Authorization  ("Dong Meng" <eddy@securities.com>)
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: \d command
Следующее
От: "lonh SENG"
Дата:
Сообщение: Execute A String of Query