Hi,
When I use psqlodbc v6.04.0007 in powerbuilder,
I found that can't create char(n) datatype.
Powerbuilder create char(1) only not char(n).
At last, I found SQLGetTypeInfo() is abnormal about char datatype.
in pgtypes.c (psqlodbc source)
line 631.
case PG_TYPE_CHAR:
case PG_TYPE_VARCHAR:
I fix this info like this.
case PG_TYPE_BPCHAR:
case PG_TYPE_CHAR:
case PG_TYPE_VARCHAR:
so, now I can create char(n) type in Powerbuilder.
good luck.
--
Ki Nam Kim, Assistant Manager
Tel: +82-2-694-3847 PCS: 019-390-7508
Fax: +82-2-696-8679 email: logos@brain.co.kr
BRAIN SOFT Co. Ltd.