How to ALTER EXTENSION name OWNER TO new_owner ?

From: "Colin 't Hart" <colinthart(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: How to ALTER EXTENSION name OWNER TO new_owner ?
Date: 2017-08-09 14:42:37
Message-ID: CAMon-aQ=4gtU29+YGWaRbrzKtjijVEYwUwvKfmCox0dtLArrwA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Why does
ALTER EXTENSION name OWNER TO new_owner;
not exist?

I have a bunch of extensions that were installed by a role that I want
to drop. So I thought I would do like I do for other object types:
ALTER <object_type> name OWNER TO new_owner;

But that doesn't exist for extensions. I also can't drop the extension
and recreate it because other objects depend on it.

What can I do?

This is on PostgreSQL 9.3.

Thanks,

Colin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Melvin Davidson 2017-08-09 15:20:24 Re: How to ALTER EXTENSION name OWNER TO new_owner ?
Previous Message Tom Lane 2017-08-09 14:04:26 Re: 64bit initdb failure on macOS 10.11 and 10.12