Re: BUG #9923: "reassign owned" does not change permissions grantor

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Alexey Bashtanov <bashtanov(at)imap(dot)cc>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9923: "reassign owned" does not change permissions grantor
Date: 2015-12-17 20:23:04
Message-ID: 20151217202304.GB27799@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Dec 17, 2015 at 03:21:46PM -0500, Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Backpatching seems fine to me. I was just concerned if anyone was
> > relying on the existing buggy behavior.
>
> Seems unlikely. Even if they are, the potential for catalog corruption
> later seems to trump that argument.
>
> > We do list this item as a 9.5
> > incompatibility, so the question is whether we can add an
> > incompatibility to back branches:
>
> > Fix <link linkend="SQL-REASSIGN-OWNED"><command>REASSIGN OWNED</></>
> > and <link linkend="SQL-ALTERTYPE"><command>ALTER OWNER TO</></>
> > to properly update permissions lists (ACLs) when changing ownership of
> > types, foreign data wrappers, and foreign servers (Bruce Momjian)
>
> Actually, I guess we should take out that 9.5 release note item altogether
> if we back-patch this.

Yes, that was one of my points.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Roman grave inscription +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message mayan.murad 2015-12-17 21:17:07 BUG #13825: JDBC Driver Connection Pool Issue
Previous Message Tom Lane 2015-12-17 20:21:46 Re: BUG #9923: "reassign owned" does not change permissions grantor