Re: change owner strange behavior

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: change owner strange behavior
Дата
Msg-id 17821.1281403791@sss.pgh.pa.us
обсуждение исходный текст
Ответ на change owner strange behavior  (David Galkowski <david.galkowski@gmail.com>)
Ответы Re: change owner strange behavior
Список pgsql-general
David Galkowski <david.galkowski@gmail.com> writes:
> In order to consolidate two users, user1 and user2, in the database I
> changed the owner of all tables and views that user2 owned to be owned
> by user1.  I then revoked all remaining privileges from user2 and
> dropped the role.  During this process I changed both table1 and view1
> (that selects from table1) to be owned by user1.  After this process,
> user1 cannot select from view1 with an error saying permission denied
> on table1.

Works for me ... what PG version are you dealing with?

            regards, tom lane

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