Re: [HACKERS] Row Level Security Bug ?

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: [HACKERS] Row Level Security Bug ?
Дата
Msg-id a63ef27f-1913-5116-f556-979e67a75f18@joeconway.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Row Level Security Bug ?  (Andrea Adami <fol@fulcro.net>)
Список pgsql-hackers
On 11/13/2017 09:09 PM, Andrea Adami wrote:
> As suggested from Joe i changed the db definition as enclosed.
> Now when i do:
>
> select * fom schools 
>
> all works fine 
>
> but when i do:

[SELECT from VIEW]

> always i get the error: 
>
> permission denied for relation schools
> SQL state: 42501
>
> Someone has some suggestion ?

Offhand I would say you probably need to GRANT ALL (or SELECT or
whatever needed) to the VIEW owner.

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Proposal: Local indexes for partitioned table
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: [HACKERS] SQL procedures