| 75 | | == 导数据 == |
| 76 | | * 字符长度超长 |
| 77 | | {{{ |
| 78 | | [postgres@test740-10 ora2cyp]$ cat export.log |grep ERROR |
| 79 | | psql:ENT_COMPANY_WEB.sql:142: ERROR: value too long for type character varying(720) |
| 80 | | psql:ENT_NEWS_WEB.sql:19: ERROR: value too long for type character varying(500) |
| 81 | | 数据长度不对,有可能跟转为utf8 字符集,长度增加有关系,奇怪的是其他表不需要。 |
| 82 | | |
| 83 | | psql:ENT_QQ_CONTACT.sql:21: ERROR: bigint out of range |
| 84 | | 其中的qq 号明显有问题,修改字段类型,重新导入,建议开发对输入做限制。 |
| 85 | | |
| 86 | | psql:ENT_QUESTION.sql:1125: ERROR: value too long for type character varying(2000) |
| 87 | | ENT_REQUEST_ERROR.sql Tue Mar 13 21:19:13 CST 2012 |
| 88 | | psql:ENT_REQUEST_ERROR.sql:43: ERROR: value too long for type character varying(4000) |
| 89 | | psql:ENT_SYSLOG.sql:72: ERROR: value too long for type character varying(500) |
| 90 | | |
| 91 | | 数据长度不对,有可能跟转为utf8 字符集,长度增加有关系,奇怪的是其他表不需要。 |
| 92 | | }}} |
| 93 | | * 字符编码问题,部分gbk了里的乱码,没有对应utf8编码,无法转入,需要人工干预。 ( 目前已经解决,请补充细节) |
| | 99 | |
| | 100 | == 导数据 == |
| | 101 | * 字符长度超长 |
| | 102 | {{{ |
| | 103 | [postgres@test740-10 ora2cyp]$ cat export.log |grep ERROR |
| | 104 | psql:ENT_COMPANY_WEB.sql:142: ERROR: value too long for type character varying(720) |
| | 105 | psql:ENT_NEWS_WEB.sql:19: ERROR: value too long for type character varying(500) |
| | 106 | 数据长度不对,有可能跟转为utf8 字符集,长度增加有关系,奇怪的是其他表不需要。 |
| | 107 | |
| | 108 | psql:ENT_QQ_CONTACT.sql:21: ERROR: bigint out of range |
| | 109 | 其中的qq 号明显有问题,修改字段类型,重新导入,建议开发对输入做限制。 |
| | 110 | |
| | 111 | psql:ENT_QUESTION.sql:1125: ERROR: value too long for type character varying(2000) |
| | 112 | ENT_REQUEST_ERROR.sql Tue Mar 13 21:19:13 CST 2012 |
| | 113 | psql:ENT_REQUEST_ERROR.sql:43: ERROR: value too long for type character varying(4000) |
| | 114 | psql:ENT_SYSLOG.sql:72: ERROR: value too long for type character varying(500) |
| | 115 | |
| | 116 | 数据长度不对,有可能跟转为utf8 字符集,长度增加有关系,奇怪的是其他表不需要。 |
| | 117 | }}} |
| | 118 | * 字符编码问题,部分gbk了里的乱码,没有对应utf8编码,无法转入,需要人工干预。 http://bbs.pconline.cn/topic-1954.html |