Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEuh0-000326-F5 for pgsql-general@arkaria.postgresql.org; Tue, 01 Feb 2022 15:03:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nEugy-0004wz-UP for pgsql-general@arkaria.postgresql.org; Tue, 01 Feb 2022 15:03:36 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEugy-0004wq-KU for pgsql-general@lists.postgresql.org; Tue, 01 Feb 2022 15:03:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEugw-0000Xg-Cv for pgsql-general@lists.postgresql.org; Tue, 01 Feb 2022 15:03:35 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 211F3Xu2927334; Tue, 1 Feb 2022 10:03:33 -0500 From: Tom Lane To: =?iso-8859-1?Q?F=E4rber=2C_Franz-Josef_=28StMUK=29?= cc: "pgsql-general@lists.postgresql.org" Subject: Re: Extension has owner In-reply-to: References: Comments: In-reply-to =?iso-8859-1?Q?F=E4rber=2C_Franz-Josef_=28StMUK=29?= message dated "Tue, 01 Feb 2022 12:08:38 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <927332.1643727813.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Feb 2022 10:03:33 -0500 Message-ID: <927333.1643727813@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =3D?iso-8859-1?Q?F=3DE4rber=3D2C_Franz-Josef_=3D28StMUK=3D29?=3D writes: > I discovered that extensions have owners (pg_extension.extowner). Yup. > This seems to be badly supported: > =C2=B7 postgres does not seem to have support for something like= ALTER EXTERNSION .... OWNER TO ... > =C2=B7 pg_dump does not dump the owner. > Is this a bug? At least it is uncomfortable for me currently. Is any fur= ther support to change, export or otherwise handle extension owners planne= d? It's been discussed, but there are some sticky issues around whether to change the ownership of the extension's objects. I don't know of anyone working on it at the moment. regards, tom lane