Re: pg_dump / pgrestore question - cannot restore a single schema

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: pg_dump / pgrestore question - cannot restore a single schema
Дата
Msg-id CAKFQuwYx6OWRA2WF3RkHgB13RZTSrRU44LiGYcwb7+O-LWuUTQ@mail.gmail.com
обсуждение исходный текст
Ответ на pg_dump / pgrestore question - cannot restore a single schema  ("S.Bob" <sbob@quadratum-braccas.com>)
Ответы Re: pg_dump / pgrestore question - cannot restore a single schema  (Holger Jakobs <holger@jakobs.com>)
Список pgsql-admin
On Mon, Mar 23, 2020 at 4:47 PM S.Bob <sbob@quadratum-braccas.com> wrote:

However if I try to restore only one of the schemas it does not work, seems like it does not create the schema first:

Since you have to know the schema name anyway in order to restore that schema only just go ahead an create the schema before performing the restore.  It seems that since a schema is not "in itself" it doesn't get restored.  Doesn't seem like a problem.

David J.

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

Предыдущее
От: "S.Bob"
Дата:
Сообщение: pg_dump / pgrestore question - cannot restore a single schema
Следующее
От: Holger Jakobs
Дата:
Сообщение: Re: pg_dump / pgrestore question - cannot restore a single schema