Changes between Version 18 and Version 19 of v6/pgsummary
- Timestamp:
- 05/31/2012 09:08:31 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v6/pgsummary
v18 v19 214 214 }}} 215 215 216 * oracle中的number类型数据导入postgresql变为bigint类型 217 {{{ 218 用xdb 从oracle导出来的是文本,转入pg的时候,自动转换为整数了,如果定义了number(10,2) 这样的是可以正确转化的 219 220 解决方案:批量生成表结构,然后手工修正 221 }}} 216 * oracle中的number类型数据导入postgresql 217 {{{ 218 用xdb 从oracle导出来的是文本,转入pg的时候,会发生自动转换 219 number类型导入到postgresql中会转为bigint类型,number(10,2)这样的会转为double类型,造成数据不一致 220 221 解决方案:批量生成表结构,然后手工修正,修正的规则是 222 number类型的根据业务逻辑判断转换后的应该是bigint还是numeric(10,2) 223 number(10,2)类型的转换为numeric(10,2) 224 225 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/global/2008/images/jss/m_logo091125.jpg)