Re: grant the right to select only certain rows?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: grant the right to select only certain rows?
Дата
Msg-id 26691.1011980432@sss.pgh.pa.us
обсуждение исходный текст
Ответ на grant the right to select only certain rows?  (Fran Fabrizio <ffabrizio@mmrd.com>)
Список pgsql-general
Fran Fabrizio <ffabrizio@mmrd.com> writes:
> And I have two database users, mary_smith and tom_white.  If Mary Smith
> is the 1st grade teacher, is there any way to grant her access to only
> select rows where grade_level=1?

Make a VIEW that shows only those rows, and grant access to the view.
See the archives for past discussions.

            regards, tom lane

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

Предыдущее
От: "Campano, Troy"
Дата:
Сообщение: Re: grant the right to select only certain rows?
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: Re: persistent portals/cursors (between transactions)