Re: change owner strange behavior

From: David Galkowski <david(dot)galkowski(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: change owner strange behavior
Date: 2010-08-10 08:47:46
Message-ID: AANLkTimZAA27vQc00-6SUmxCj8ocux0OGOncF06yPR-z@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

8.1.11

On Mon, Aug 9, 2010 at 9:29 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> David Galkowski <david(dot)galkowski(at)gmail(dot)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
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2010-08-10 09:30:22 Re: pl/pgsql editor and postgres developemnt tool
Previous Message Atul.Goel 2010-08-10 08:39:30 pl/pgsql editor and postgres developemnt tool