Re: Permission Problem for DELETE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Permission Problem for DELETE
Дата
Msg-id 26837.1211896640@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Permission Problem for DELETE  (Volkan YAZICI <yazicivo@ttmail.com>)
Ответы Re: Permission Problem for DELETE
Список pgsql-general
Volkan YAZICI <yazicivo@ttmail.com> writes:
>         Access privileges for database "test_1_5_0_0"
>    Schema  |       Name       | Type  |  Access privileges
>   ---------+------------------+-------+---------------------
>    commsrv | outgoingmessages | table | test=arwdxt/test
>                                       : emove=ad/test
>                                       : commsrv=arwdxt/test
>   (1 row)

> PostgreSQL doesn't allow me to DELETE a row from
> commsrv.outgoingmessages with emove role.

>   (emove@192.168.1.160:5432/test_1_5_0_0) [2008-05-27 09:37:11]
>>>> EXPLAIN DELETE FROM commsrv.outgoingmessages WHERE messageid = 261120;
>   ERROR:  permission denied for relation outgoingmessages

You don't have SELECT privilege, which is required to read any of the
columns in the WHERE clause.

(Not sure if this is explained anywhere in our manual :-(, but the
behavior is required by SQL spec.)

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: New MS patent: sounds like PG db rules
Следующее
От: Justin
Дата:
Сообщение: Re: New MS patent: sounds like PG db rules