FW: Problems with int8 and MS ADO/ODBC (inc patch)

Поиск
Список
Период
Сортировка
От Dave Page
Тема FW: Problems with int8 and MS ADO/ODBC (inc patch)
Дата
Msg-id 8568FC767B4AD311AC33006097BCD3D61A282C@woody.vale-housing.co.uk
обсуждение исходный текст
Список pgsql-interfaces
> -----Original Message-----
> From: Ken J. Wright [mailto:ken@ori-ind.com]
> Sent: 21 December 2000 20:44
> To: Dave Page
> Subject: Re: [INTERFACES] Problems with int8 and MS ADO/ODBC
>
>
> Depending on how strict ado is about odbc versioning, the
> problem can be
> because an int8 type now returns an integer value (bigint)
> via odbc as per odbc
> v3.0. However the driver reports itself as v2.0, which is
> supposed to return a
> sting for a bigint column. This was changed in the driver a
> while back to
> satisfy complaints about returning a string for a bigint
> column. It really
> should be changed back to the v2.0 spec, as the driver is not
> 3.0 compliant.

Thanks Ken, I just modified the ODBC code so int8 returns SQL_CHAR and it
works great. I've attached a patch for anyone that wants it.

Regards,

Dave.




Вложения

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Peter Mount
Дата:
Сообщение: RE: [INTERFACES] Bugs in 7.1beta JDBC driver
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: Problem with ecpg and 7.1beta1