Re: One question about security label command

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: One question about security label command
Дата
Msg-id 20150310134101.GC3291@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: One question about security label command  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Ответы Re: One question about security label command  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Kohei KaiGai wrote:
> The attached patch revises error message when security label
> is specified on unsupported object.
> getObjectTypeDescription() may be better than oid of catalog.

Agreed.

> postgres=# SECURITY LABEL FOR selinux ON ROLE kaigai
> postgres-#   IS 'system_u:object_r:unlabeled_t:s0';
> ERROR:  sepgsql provider does not support labels on role

I'd make itsepgsql provider does not support labels on objects of type "%s"

And perhaps make it an ereport also, with errcode etc.

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



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Relation ordering in FROM clause causing error related to missing entry... Or not.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: moving from contrib to bin