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

Bug #6593, extensions, and proposed new patch policy

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Bug #6593, extensions, and proposed new patch policy
Date: 2012-04-18 15:41:40
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

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.)

In HEAD we can do the more invasive fix of actually adding support code
for changing an extension's owner.  And it seems to me that, going 
further, we should have a policy that any ownable object type we add 
must come with appropriate support for changing owner.


Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>


pgsql-hackers by date

Next:From: Tom LanyonDate: 2012-04-18 15:44:11
Subject: 8.4 path to repair_frag()?
Previous:From: Kevin GrittnerDate: 2012-04-18 15:29:35
Subject: Re: Bug tracker tool we need

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