免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2984 | 回复: 0
打印 上一主题 下一主题

greenplum psqlodbcw.so:unicode converter truncated character [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-06-13 19:47 |只看该作者 |倒序浏览
使用greenplum-connectivity-3.3.7-build-1-RHEL3-i386.bin来安装postgresql odbc driver,路径如下/usr/local/greenplum-connectivity-3.3.7.0-build-1/drivers/odbc/psqlodbc-08.04.0200/unixodbc-2.2.12/psqlodbcw.so.

不过测试的时候,发现报错:Greenplum unicode converter truncated character.上网谷歌得下以下结果:

When psql odbc driver is built normally it creates psqlodbcw.so. If we use this driver with DataStage, it shows "Unicode Converter buffer overflow" error with DataDirect Driver Manager. Workaround for this issue is to build the the non-unicode version of the driver with ‘--disable-unicode’ option. This will create psqlodbca.so driver.

现在有二个疑惑:

(1)有同样操作的机器,使用相同的psqlodbcw.so驱动的时候,没有报错。因为GP是UTF8的格式,使用datastage进行连接。可不可能有其它的地方没有设置到,导致报的这个错?

(2)如果上述猜测不正确的话,需要怎么样才能编译出--disable-unicode的psqlodbcw.so文件?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP