Re: View permission error after upgrading from 8.4 -> 9.2
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: View permission error after upgrading from 8.4 -> 9.2 |
| Дата | |
| Msg-id | 24100.1376416998@sss.pgh.pa.us обсуждение |
| Ответ на | View permission error after upgrading from 8.4 -> 9.2 (Brian Hirt <bhirt@me.com>) |
| Ответы |
Re: View permission error after upgrading from 8.4 -> 9.2
|
| Список | pgsql-general |
Brian Hirt <bhirt@me.com> writes:
> I'm upgrading our database from 8.4 to 9.2 and I've run across a view that is no longer working. � When selecting
fromthe view, I get a permission denied error on one of the referenced tables. � However, I can run the view's query
directlywithout problems and I have read access to all the tables the view accesses.
Permissions checks for tables referenced by a view are done as the view's
owner. I'm suspicious that one of the relations used in your view
vcredit_info is itself a view that references developer_title, and
is owned by some other user with less privilege than you.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера