Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ? - Mailing list pgsql-general

From Melvin Davidson
Subject Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?
Date
Msg-id CANu8Fixm7w5RoCO95n_ETcR+mcVQd-FkBgAOic-9H+ZYrSeSwg@mail.gmail.com
Whole thread Raw
In response to [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?  ("Colin 't Hart" <colinthart@gmail.com>)
Responses Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?  (Melvin Davidson <melvin6925@gmail.com>)
List pgsql-general

On Wed, Aug 9, 2017 at 10:42 AM, Colin 't Hart <colinthart@gmail.com> wrote:
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


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

AFAIK, extensions do not have an owner.  They just exist and are available to everyone.
If you are having a particular problem (other than owner) with an extension, it would be helpful to
post a script to illustrate that.  You should be able to drop the role without any problem.
If an error occurs, then please advise on that and include the exact message.

--
Melvin Davidson
I reserve the right to fantasize.  Whether or not you
wish to share my fantasy is entirely up to you.

pgsql-general by date:

Previous
From: "Colin 't Hart"
Date:
Subject: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?
Next
From: Melvin Davidson
Date:
Subject: Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?