[freetds] Problem with connection.
Frediano Ziglio
freddy77 at gmail.com
Thu Jan 21 09:07:27 EST 2010
2010/1/21 James K. Lowden <jklowden at freetds.org>:
> Frediano Ziglio wrote:
>> there is no direct
>> support for bigint in dblib... you should use numeric. DBINT8/DBINT64
>> would be an extension to dblib.
>
> The vendors, each for their own reasons, haven't kept their db-libs up to
> date. So I guess it's up to us.
>
>> It seems Sybase defined support for
>> bigint only for ctlib (odbc already support 64bit integers) using
>> CS_BIGINT. We could define an extension for this binding and type.
>
> That's what I think we should do. I'm just hoping "we" is a man with an
> itch and a patch.
>
>> tds_willconvert and tds_convert already support SYBINT8 so the
>> extension would affect only dblib library not libTDS code.
>
> Excellent.
>
Something like that (not tested) ?
I also wrote a patch (quite small...) to package using bzip2 instead
of gzip. Do you think is worst applying it?
freddy77
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-dblib_bigint.diff
Type: application/octet-stream
Size: 3005 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20100121/5a1907b2/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 02-bzip2.diff
Type: application/octet-stream
Size: 451 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20100121/5a1907b2/attachment-0001.obj
More information about the FreeTDS
mailing list