【发布时间】:2012-07-16 16:28:47
【问题描述】:
在对现有 posgresql 模式执行 pg_dump 后,我有一个 sql 文件,其中包含许多使用副本的表填充语句。
COPY test_table (id, itm, factor, created_timestamp, updated_timestamp, updated_by_user, version) FROM stdin;
1 600 0.000 2012-07-17 18:12:42.360828 2012-07-17 18:12:42.360828 system 0
2 700 0.000 2012-07-17 18:12:42.360828 2012-07-17 18:12:42.360828 system 0
\.
虽然不标准,但这是 PostgreSQL 的 PLSQL 实现的一部分。
执行 flyway 迁移(通过 maven 插件)我得到:
[ERROR] Caused by org.postgresql.util.PSQLException: ERROR: unexpected message type 0x50 during COPY from stein
是我做错了什么,还是不支持?
谢谢。
【问题讨论】:
标签: database postgresql flyway