psqldbc fix for powerbuilder.

From: "KiNam, Kim" <logos(at)brain(dot)co(dot)kr>
To: <pgsql-interfaces(at)postgresql(dot)org>
Subject: psqldbc fix for powerbuilder.
Date: 1999-10-28 04:44:22
Message-ID: 000801bf20ff$1b093200$7a1174d2@brain.co.kr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)brain(dot)co(dot)kr
BRAIN SOFT Co. Ltd.                        

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ina 1999-10-28 07:39:15 Insertion Process Failed
Previous Message Stephen Davies 1999-10-27 23:00:35 Re: [INTERFACES] Replication between MS Access and PostgreSQL