Re: pg_restore -L reordering of the statements does not work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_restore -L reordering of the statements does not work
Дата
Msg-id 2028815.1698544164@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_restore -L reordering of the statements does not work  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: pg_restore -L reordering of the statements does not work  (Aditya D <dsaditya91@gmail.com>)
Список pgsql-admin
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Sat, Oct 28, 2023, 18:37 Aditya D <dsaditya91@gmail.com> wrote:
>> PS: Don't have super user privileges on the target.

> Why can you not create a role on the target that is a member of every other
> role and thus can create and reassign delegated permissions and ownership
> to any of them.  In short, a role that behaves as superuser within this
> limited context even if they are not a true superuser.

That's going to be essential in any case if the restoring user is
to be able to successfully execute the ALTER OWNER commands in the
script.  You can't give away ownership to a role you don't have
the privileges of.

            regards, tom lane



В списке pgsql-admin по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: pg_restore -L reordering of the statements does not work
Следующее
От: Aditya D
Дата:
Сообщение: Re: pg_restore -L reordering of the statements does not work