如何解决pg_restore 从 csv 文件
使用 pg_restore 从 csv 文件恢复数据库时,我无法从备份文件恢复许多表。
出现以下错误:
pg_restore: connecting to database for restore
pg_restore: dropping FK CONSTRAINT gblt_user_mst_gnum_hospital_code_fkey
pg_restore: [archiver (db)] Error while PROCESSING TOC:
pg_restore: [archiver (db)] Error from TOC entry 17158; 2606 193690 FK CONSTRAINT gblt_user_mst_gnum_hospital_code_fkey dwh_telangana
pg_restore: [archiver (db)] Could not execute query: ERROR: schema "dwh_telangana" does not exist
Command was: ALTER TABLE ONLY dwh_telangana.gblt_user_mst DROP CONSTRAINT gblt_user_mst_gnum_hospital_code_fkey;
可能是什么问题? 可能的解决方案是什么。
任何帮助都会非常有用
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。