RLS syntax

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема RLS syntax
Дата
Msg-id 526898A8.7090309@2ndquadrant.com
обсуждение исходный текст
Список pgsql-hackers
[bikeshed]

I'm not totally comfortable with the details of ALTER TABLE ... SET ROW
SECURITY FOR ALL .

If you read:

ALTER TABLE document SET ROW SECURITY FOR ALL   TO (...query...)

is it obvious to you that "FOR ALL" here refers to all _command types_?

I'd like to make that more explicit and allow an OR-list of commands, so
it'd look like

FOR ALL COMMANDS TO (...)

or for specific commands, something like

FOR INSERT OR DELETE TO (...)

[/bikeshed]
-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Nigel Heron
Дата:
Сообщение: Re: stats for network traffic WIP
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Add min and max execute statement time in pg_stat_statement