Re: FORCE ROW LEVEL SECURITY
| От | Stephen Frost |
|---|---|
| Тема | Re: FORCE ROW LEVEL SECURITY |
| Дата | |
| Msg-id | 20151104184828.GH3685@tamriel.snowman.net обсуждение исходный текст |
| Ответ на | FORCE ROW LEVEL SECURITY (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: FORCE ROW LEVEL SECURITY
|
| Список | pgsql-hackers |
* Robert Haas (robertmhaas@gmail.com) wrote: > FORCE ROW LEVEL SECURITY doesn't behave as I would expect. > > rhaas=# create policy hideit on foo1 using (a < 3); > CREATE POLICY > rhaas=# explain select * from foo1; > QUERY PLAN > --------------------------------------------------------- > Seq Scan on foo1 (cost=0.00..22.70 rows=1270 width=36) > (1 row) > rhaas=# alter table foo force row level security; > ALTER TABLE > rhaas=# alter table foo1 enable row level security; > ALTER TABLE Sorry if my prior wasn't clear, but above you do 'foo' and 'foo1' independently. Did you intend to alter table 'foo'? Thanks! Stephen
В списке pgsql-hackers по дате отправления: