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

From Tom Lane
Subject Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?
Date
Msg-id 5665.1502295011@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?  (Melvin Davidson <melvin6925@gmail.com>)
Responses Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
Melvin Davidson <melvin6925@gmail.com> writes:
> *UPDATE pg_extension    SET extowner = {oid_of_new_owner} WHERE extowner =
> {oid_from_above_statement};*

Note you'll also have to modify the rows in pg_shdepend that reflect
this ownership property.

            regards, tom lane


pgsql-general by date:

Previous
From: Melvin Davidson
Date:
Subject: Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?
Next
From: Scott Marlowe
Date:
Subject: Re: [GENERAL] How to ALTER EXTENSION name OWNER TO new_owner ?