Re: int2: sql type bug?

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: J(dot)Kraaijeveld(at)Askesis(dot)nl
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: int2: sql type bug?
Date: 2008-08-12 04:04:03
Message-ID: 48A10BB3.5090403@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Joost Kraaijeveld wrote:
> Hi,
>
>
> According to SQLColumns the sql type (DATA_TYPE) for a int2 column is
> SQL_INTEGER.

Here I get SQL_SMALLINT(=5) not SQL_INTEGER(=4) for int2 columns;
How do you call SQLColumns() and get the DATA_TYPE ?

regards,
Hiroshi Inoue

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Joost Kraaijeveld 2008-08-12 04:24:00 Re: c type of int8 / serial8?
Previous Message Hiroshi Inoue 2008-08-12 02:50:55 Re: c type of int8 / serial8?