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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(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:21:46
Message-ID: 16042.1450383706@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2015-12-17 20:23:04 Re: BUG #9923: "reassign owned" does not change permissions grantor
Previous Message Bruce Momjian 2015-12-17 20:14:53 Re: BUG #9923: "reassign owned" does not change permissions grantor