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)?
tel: 024-3888063 / 06-51855277
pgsql-odbc by date
|Next:||From: Hiroshi Inoue||Date: 2008-08-12 02:50:55|
|Subject: Re: c type of int8 / serial8?|
|Previous:||From: Joost Kraaijeveld||Date: 2008-08-11 06:18:50|
|Subject: time with time zone sql type?|