Re: View permission error after upgrading from 8.4 -> 9.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: View permission error after upgrading from 8.4 -> 9.2
Дата
Msg-id 19755.1376429625@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: View permission error after upgrading from 8.4 -> 9.2  (Brian Hirt <bhirt@me.com>)
Список pgsql-general
Brian Hirt <bhirt@me.com> writes:
> None of the relations used by vcredit_info are views.   They are all
> tables.   Oddly, I dropped the view and recreated it and the problem went
> away.  Earlier I was just using create or replace view and the problem
> persisted.

Hm.  I think that CREATE OR REPLACE VIEW may not change the view owner,
so the behavior would be explainable if the view's original owner did
not have permissions to read that table.

            regards, tom lane


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

Предыдущее
От: Michael Cronenworth
Дата:
Сообщение: Re: MinGW compiled client library
Следующее
От: Robert James
Дата:
Сообщение: Materializing a view by hand