Skip site navigation (1) Skip section navigation (2)

Re: Bug #6593, extensions, and proposed new patch policy

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>
Subject: Re: Bug #6593, extensions, and proposed new patch policy
Date: 2012-07-03 19:22:59
Message-ID: 1341343345-sup-1599@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-hackers
Excerpts from Alvaro Herrera's message of mié abr 18 18:27:27 -0300 2012:
> Excerpts from Robert Haas's message of mié abr 18 13:05:03 -0300 2012:
> > On Wed, Apr 18, 2012 at 11:41 AM, Alvaro Herrera
> > <alvherre(at)alvh(dot)no-ip(dot)org> wrote:
> > > Per bug #6593, REASSIGN OWNED fails when the affected role owns an
> > > extension.  This would be trivial to fix if extensions had support code
> > > for ALTER EXTENSION / OWNER, but they don't.  So the only back-patchable
> > > fix right now seems to be to throw an error on REASSIGN OWNED when the
> > > user owns an extension.  (If anyone wants to claim that we ought to work
> > > on a real fix that allows changing the owner internally from REASSIGN
> > > OWNED, without introducing ALTER EXTENSION support for doing so, let me
> > > know and I'll see about it.)
> > 
> > I would be OK with the latter.
> 
> Here's a patch for that.

Applied to master, 9.2 and 9.1.  Sorry for dropping the ball on it.

-- 
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2012-07-03 19:24:00
Subject: Solaris docs
Previous:From: Peter EisentrautDate: 2012-07-03 19:20:50
Subject: Re: File format for SSL CRL file

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group