Re: Multi-tenancy with RLS

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Multi-tenancy with RLS
Дата
Msg-id CA+TgmobJVKkfA7PQ9pTywz91McwMA67j0g1KHxZhUi+u4p6yEw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Multi-tenancy with RLS  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Multi-tenancy with RLS  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
On Tue, Feb 9, 2016 at 3:28 PM, Stephen Frost <sfrost@snowman.net> wrote:
> JD,
>
> * Joshua D. Drake (jd@commandprompt.com) wrote:
>> pg_dump -U $non-super_user
>>
>> Should just work, period.
>
> That ship has sailed already, where you're running a pg_dump against
> objects you don't own and which have RLS enabled on them.

But you'll get an error rather than an incomplete dump, and you won't
run some code that you didn't want to run.  Those distinctions matter.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Multi-tenancy with RLS
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Tracing down buildfarm "postmaster does not shut down" failures