5
我使用推薦的Heroku推送和拉數據庫的pg:transfer實用程序。例如:Postgres警告:在恢復時忽略錯誤:59
heroku pg:transfer -f postgres://username:[email protected]/database-name -t postgres://user-name:[email protected]/database-name --confirm app-name
我已經能夠成功地做到這一點,但每次它說的錯誤是在傳輸結束時忽略:
WARNING: errors ignored on restore: 59
我是否需要擔心這個問題?
編輯:
我通過輸出去了,它似乎在每個表錯誤。它似乎刪除序列,然後拋出一個錯誤,說它不存在。
pg_restore: dropping SEQUENCE OWNED BY roles_id_seq
pg_restore: dropping SEQUENCE roles_id_seq
pg_restore: [archiver (db)] Error from TOC entry 170; 1259 35485 SEQUENCE roles_id_seq postgres
pg_restore: [archiver (db)] could not execute query: ERROR: sequence "roles_id_seq" does not exist Command was: DROP SEQUENCE public.roles_id_seq;
你有沒有找到一種方法來消除這些非錯誤的錯誤? – Erik 2013-12-03 18:05:48