pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <inoue@tpf.co.jp>
To: J.Kraaijeveld@Askesis.nl
Cc: pgsql-odbc@postgresql.org
Subject: Re: int2: sql type bug?
Date: Tue, 12 Aug 2008 13:04:03 +0900
Message-ID: <48A10BB3.5090403@tpf.co.jp> (raw)
In-Reply-To: <1218488112.4064.115.camel@panoramix.askesis.nl>
References: <1218488112.4064.115.camel@panoramix.askesis.nl>

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





view thread (3+ messages)  latest in thread

Message-ID: <48A10BB3.5090403@tpf.co.jp>
Permalink:  ../48A10BB3.5090403@tpf.co.jp/
Also on:    postgresql.org/message-id/48A10BB3.5090403@tpf.co.jp

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: inoue@tpf.co.jp, J.Kraaijeveld@Askesis.nl
  Subject: Re: int2: sql type bug?
  In-Reply-To: <48A10BB3.5090403@tpf.co.jp>
  References: <1218488112.4064.115.camel@panoramix.askesis.nl> <48A10BB3.5090403@tpf.co.jp>

* 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