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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Bug #6593, extensions, and proposed new patch policy
Дата
Msg-id CA+TgmoYeLjDdLWmfNe=ntpAwmKzd+z28HifCm7Tj=RiT7UC6qQ@mail.gmail.com
обсуждение исходный текст
Ответ на Bug #6593, extensions, and proposed new patch policy  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: Bug #6593, extensions, and proposed new patch policy  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Wed, Apr 18, 2012 at 11:41 AM, Alvaro Herrera
<alvherre@alvh.no-ip.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.

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

+1.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: 8.4 path to repair_frag()?
Следующее
От: Emanuel Calvo
Дата:
Сообщение: [Devel 9.2] Index-only scan in count aggregation