Re: pg_restore (fromuser -> touser)

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: pg_restore (fromuser -> touser)
Дата
Msg-id CAKFQuwa2q05+Qa-k55MyOtWPeCLXA8AMfM2Ye5Z_gZtjYpF8pA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_restore (fromuser -> touser)  (Ganesh Korde <ganeshakorde@gmail.com>)
Ответы Re: pg_restore (fromuser -> touser)  (Mayan <popalzie@gmail.com>)
Список pgsql-general
On Sun, Jul 25, 2021 at 8:02 PM Ganesh Korde <ganeshakorde@gmail.com> wrote:
You just need to export dump without any privileges. And while restoring dump use the new role.

You should read the body of the original email and not just the subject line.  The actual question pertains to schemas - which IIUC are tightly linked to roles in other DBs (hence the observed behavior elsewhere) but aside from some default search_path stuff are unrelated in PostgreSQL.

David J.

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

Предыдущее
От: Ganesh Korde
Дата:
Сообщение: Re: pg_restore (fromuser -> touser)
Следующее
От: Matthias Apitz
Дата:
Сообщение: PostgreSQL reference coffee mug