小编Aka*_*mar的帖子

错误:类型金钱的输入语法无效

导入时出现此错误:

pg_restore: [archiver (db)] COPY failed for table "transaction_details":
ERROR:  invalid input syntax for type money: "$0.00"
Run Code Online (Sandbox Code Playgroud)

restore完成,但transaction_details桌子是空的。这是 Heroku 的 PostgreSQL Dump 数据库。

Heroku 上的 PostgreSQL 版本是 9.3.15,在我的系统上也是如此

我使用的命令:

pg_restore: [archiver (db)] COPY failed for table "transaction_details":
ERROR:  invalid input syntax for type money: "$0.00"
Run Code Online (Sandbox Code Playgroud)

有人可以提出解决方案吗?

postgresql money restore postgresql-9.3 pg-restore

6
推荐指数
1
解决办法
4281
查看次数

标签 统计

money ×1

pg-restore ×1

postgresql ×1

postgresql-9.3 ×1

restore ×1