首页 > 其他 > 详细

pg_dump和pg_restore

时间:2021-02-18 23:34:51      阅读:26      评论:0      收藏:0      [点我收藏+]
问题:
pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 4965; 0 138871 TABLE DATA ir_act_report_xml insigni pg_restore: [archiver (db)] could not execute query: ERROR: invalid input syntax for integer: "purchase.order" LINE 1: ...st for Quotation‘, ‘ir.actions.report.xml‘, NULL, ‘purchase....


解决办法:
pg_dump database_name -c -Ft -f file_name.tar 

pg_restore -d database_name -c file_name.ta


参考地址

https://stackoverflow.com/questions/9836627/pg-restore-toc-error

pg_dump和pg_restore

原文:https://www.cnblogs.com/aaronwell/p/14413317.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!