Skip site navigation (1) Skip section navigation (2)

int2: sql type bug?

From: "Joost Kraaijeveld" <J(dot)Kraaijeveld(at)Askesis(dot)nl>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: int2: sql type bug?
Date: 2008-08-11 20:55:12
Message-ID: 1218488112.4064.115.camel@panoramix.askesis.nl (view raw or flat)
Thread:
Lists: pgsql-odbc
Hi,


According to SQLColumns the sql type (DATA_TYPE) for a int2 column is
SQL_INTEGER. According to SQLGetTypeInfo the sql type is SQL_SMALLINT.

Is this a bug?

BTW: I am writing an application that uses the ODBC rather heavily. Is
ODBC actually maintained and is there someone who is prepared to answer
some questions (and accept (source)solutions for problems)?

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl


Responses

pgsql-odbc by date

Next:From: Hiroshi InoueDate: 2008-08-12 02:50:55
Subject: Re: c type of int8 / serial8?
Previous:From: Joost KraaijeveldDate: 2008-08-11 06:18:50
Subject: time with time zone sql type?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group