Re: partitioned tables and contrib/sepgsql

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: partitioned tables and contrib/sepgsql
Дата
Msg-id CA+TgmoaXWqH_7oDc+=0C72F45nOyTXcpnkAR-W_2NWE395VnLQ@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] partitioned tables and contrib/sepgsql  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: partitioned tables and contrib/sepgsql  (Mike Palmiotto <mike.palmiotto@crunchydata.com>)
Список pgsql-hackers
On Thu, Mar 9, 2017 at 9:47 AM, Stephen Frost <sfrost@snowman.net> wrote:
> While going over the contrib modules, I noticed that sepgsql was not
> updated for partitioned tables.  What that appears to mean is that it's
> not possible to define labels on partitioned tables.

It works for me:

rhaas=# load 'dummy_seclabel';
LOAD
rhaas=# create table foo (a int, b text) partition by range (a);
CREATE TABLE
rhaas=# security label on table foo is 'classified';
SECURITY LABEL

What exactly is the problem you're seeing?

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



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

Предыдущее
От: Andreas Karlsson
Дата:
Сообщение: Re: rename pg_log directory?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Bug in get_partition_for_tuple