pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: KiNam, Kim <logos@brain.co.kr>
To: pgsql-interfaces@postgresql.org
Subject: psqldbc fix for powerbuilder.
Date: Thu, 28 Oct 1999 13:44:22 +0900
Message-ID: <000801bf20ff$1b093200$7a1174d2@brain.co.kr> (raw)

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.¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡



Message-ID: <000801bf20ff$1b093200$7a1174d2@brain.co.kr>
Permalink:  ../000801bf20ff$1b093200$7a1174d2@brain.co.kr/
Also on:    postgresql.org/message-id/000801bf20ff$1b093200$7a1174d2@brain.co.kr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: logos@brain.co.kr
  Subject: Re: psqldbc fix for powerbuilder.
  In-Reply-To: <000801bf20ff$1b093200$7a1174d2@brain.co.kr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox