在AWS Database迁移服务中获取外键伪造错误

我正在使用AWS数据库管理服务将未加密的postgres数据库迁移到加密的数据库,但是出现此错误。

[TARGET_LOAD ]E: RetCode: SQL_ERROR SqlState: 0A000 NativeError: 1 Message: ERROR: cannot truncate a table referenced in a foreign key constraint; Error while executing the query [1022502] (ar_odbc_stmt.c:4622)

要解决此错误,我什至将session_replication_role设置为'replica'。但是我得到了相同的结果。

任何建议如何解决此错误?

leyuruan 回答:在AWS Database迁移服务中获取外键伪造错误

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2306390.html

大家都在问