pg_restore: [archiver] did not find magic string in file header当我pg_restore -Fc -U "username" -d "dbname" "filename".dmp在临时数据库上执行 a 时,我不断收到此信息。
这些数据库在两个单独的 AWS 实例上运行,Windows Server 2008 用于两种环境(暂存和分发)。发行版中使用的 postgres 版本是 9.2,登台版本是 9.3。
我认为这个问题可能与pg_dump: [custom archiver] WARNING: ftell mismatch with expected position -- ftell used我pg_dump -Fc -U "username" -w "dbname" > "filename".dmp在分发数据库上执行 a 时收到几个警告的事实有关。
任何帮助表示赞赏。