Re: change owner strange behavior

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

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 Jeff Davis 2010-08-10 01:33:30 Re: pg 9.0, streaming replication, fail over and fail back strategies
Previous Message Mabry Tyson 2010-08-10 00:23:46 Win Server 2003: postgres can't logon