Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)
Дата
Msg-id 20150522180807.GB5885@postgresql.org
обсуждение исходный текст
Ответы Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)
Список pgsql-hackers
Stephen Frost wrote:
> Row-Level Security Policies (RLS)

What do we need RowSecurityPolicy->policy_id for?  It seems to me that
it is only used to determine whether the policy is the "default deny"
one, so that it can later be removed if a hook adds a different one.
This seems contrived as well as under-documented.  Why isn't a boolean
flag sufficient?

(Not an actual review of this patch.  I was merely skimming the code.)

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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