Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fire Emerald <fire.github@xxxxxxxxx> 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





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux