Re: How to create read-only view on 9.3

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: How to create read-only view on 9.3
Дата
Msg-id 20130813180342.GG2706@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: How to create read-only view on 9.3  (Hannu Krosing <hannu@2ndQuadrant.com>)
Список pgsql-hackers
* Hannu Krosing (hannu@2ndQuadrant.com) wrote:
> If you earlier used views for granting limited read access to some views
> you definitely did not want view users suddenly gain also write access to
> underlying table.
>
> You also probably did not GRANT only SELECT to your views as this was
> the default anyway,

I'm not really convinced that we should be catering to this argument of
"well, I knew it was gonna end up being read-only anyway, so I just
GRANT'd ALL"- consider that rules can make view writable, even in
existing releases.
Thanks,
    Stephen

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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: How to create read-only view on 9.3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How to create read-only view on 9.3