Re: pg_dump directory format and proper ordering

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump directory format and proper ordering
Дата
Msg-id 1832919.1623376575@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump directory format and proper ordering  (Wells Oliver <wells.oliver@gmail.com>)
Ответы Re: pg_dump directory format and proper ordering  (Wells Oliver <wells.oliver@gmail.com>)
Список pgsql-admin
Wells Oliver <wells.oliver@gmail.com> writes:
> Hi: I wanted to check on something: if I pg_dump four schemas in directory
> format with a selection of schemas, and then pg_restore, I'm assuming psql
> will know the order of priority for restoration, meaning it will restore
> schema A first if schema B/C/D depend on those entities, right?

It tracks dependencies at the per-object level.  I'm not aware of any
way that a schema as such could depend on another, but it should take
care of correct restoration order for the objects within them.

            regards, tom lane



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

Предыдущее
От: Wells Oliver
Дата:
Сообщение: pg_dump directory format and proper ordering
Следующее
От: Wells Oliver
Дата:
Сообщение: Re: pg_dump directory format and proper ordering