Re: pg_dumpall and owner of the extension - Mailing list pgsql-admin

From Tom Lane
Subject Re: pg_dumpall and owner of the extension
Date
Msg-id 4046117.1706026422@sss.pgh.pa.us
Whole thread Raw
In response to pg_dumpall and owner of the extension  (kaido vaikla <kaido.vaikla@gmail.com>)
List pgsql-admin
kaido vaikla <kaido.vaikla@gmail.com> writes:
> So pg_dumpall is not aware  who ran "CREATE EXTENSION"?

Yeah, pg_dump makes no effort to restore extensions with the same
owner.  This didn't matter back when the feature was designed,
because you had to be superuser to install most interesting
extensions.  I suppose we should revisit the choice sometime.
There's no ALTER EXTENSION OWNER command, though, so it would
need to be done in a different way from other object types.
Not sure offhand what the downsides of that would be.

            regards, tom lane



pgsql-admin by date:

Previous
From: kaido vaikla
Date:
Subject: Re: pg_dumpall and owner of the extension
Next
From: Tom Lane
Date:
Subject: Re: pg_dumpall and owner of the extension