psqldbc fix for powerbuilder. - Mailing list pgsql-interfaces

From KiNam, Kim
Subject psqldbc fix for powerbuilder.
Date
Msg-id 000801bf20ff$1b093200$7a1174d2@brain.co.kr
Whole thread Raw
List pgsql-interfaces
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.                        

pgsql-interfaces by date:

Previous
From: Nkosi Dilworth
Date:
Subject: forms in pgaccess
Next
From: Hans Matzen
Date:
Subject: Re: [INTERFACES] forms in pgaccess