[freetds] db-lib: support for new MS SQL 2008 data types - part 3
randy at thesyrings.us
Wed Apr 16 12:04:10 EDT 2014
Just want to say I think it's really cool you are working on this. Our
(pymssql) users have been asking for us to support these new types, so
I'm grateful to see you are moving things along at the FreeTDS level!
Husband | Father | Redeemed Sinner
/"For what does it profit a man to gain the whole world
and forfeit his soul?" (Mark 8:36 ESV)/
On 04/16/2014 07:44 AM, LacaK wrote:
> Hi again,
> Now I am personally happy with patched db-lib in regards of support
> new DATE - TIME data types.
> But there are still missing some parts, which may be interesting to
> somebody else.
> I meant dbbind() family of API with corresponding *BIND constants and
> binary structure used to store this types.
> How to handle binding of new date, time types ?
> - introduce new DBDATETIMEALLBIND (or DBDATETIME2BIND) constant in
> sybdb.h ?
> - introduce new DBDATETIMEALL struct (==TDS_DATETIMEALL struct) in
> sybdb.h ?
> - add support to copy_data_to_host_var() function in dblib.c ?
> If you give me direction I can prepare patch ...
> (if it is good idea add support for BINDing ?)
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
More information about the FreeTDS