Re: BUG #3265: 8.1 -> 8.2 behviour change: View owner must have access to underlying tables

From: Russell Smith <mr-russ(at)pws(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3265: 8.1 -> 8.2 behviour change: View owner must have access to underlying tables
Date: 2007-05-10 08:41:08
Message-ID: 4642DAA4.5090204@pws.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> "Russell Smith" <mr-russ(at)pws(dot)com(dot)au> writes:
>
>> CREATE view v1 as select * from t1;
>> ALTER TABLE v1 OWNER TO "USER";
>>
>
> See thread here:
> http://archives.postgresql.org/pgsql-hackers/2006-04/msg01138.php
> and patch here:
> http://archives.postgresql.org/pgsql-committers/2006-09/msg00101.php
>
> This was not back-patched because it seemed like too much of a behavior
> change for stable branches.
>
Thanks,

I forgot the link between RULES and views.

But this also means that a super user is not really a super user
anymore. Are we comfortable with this redefinition?

Russell
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>
>

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-05-10 13:43:42 Re: BUG #3265: 8.1 -> 8.2 behviour change: View owner must have access to underlying tables
Previous Message Jack Ho 2007-05-10 06:26:41 Is PostgresSQL supported in Windows Vista?