Re: How to interpret 'depends on' errors in pg_restore?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to interpret 'depends on' errors in pg_restore?
Дата
Msg-id 3571436.1711634406@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [MASSMAIL]How to interpret 'depends on' errors in pg_restore?  (Fire Emerald <fire.github@gmail.com>)
Ответы Re: How to interpret 'depends on' errors in pg_restore?
Список pgsql-general
Fire Emerald <fire.github@gmail.com> writes:
> Then i did a pg_restore -d target --verbose -Fc file.dump and saw in the 
> output this:

> 5145 0 730750 TABLE subpartitions backends_y2024w03 userA
> ;        depends on: 237
> .... and so on ...

That is not an error, it's just verbose display of one of the items
in the dump.

> Nothing was restored.

You would need to show us the actual errors.  (Suggestion:
leave off --verbose, it's just clutter.)  A guess though is
that the import failed because of foreign key constraints.
--data-only mode is not good at ordering the table loads to
ensure that FK constraints are satisfied on-the-fly.

            regards, tom lane



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Problems caused by type resolution for the iso-8859-1 type
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Inquiry on Participating in the Korean Translation Project for PostgreSQL Documentation