Hello, On 24/03/2011 11:52, Martin Pyle wrote:
> Whereas SOCI uses std::tm to carry date-times could boost::posix_time be > a an alternative? This would be problematic, as there is no "internal" type that has more precision than std::tm. The only reasonable option that I can see for the moment is to use text format for transmission and appropriate conversion at the client-side. This is basically the general way of solving "unsolvable" typing problems in SOCI. If you need high performance of data transfer and text format is a problem, then the only option is to extend the set of internal SOCI types, so that timestamps can be handled with higher precision natively. Regards, -- Maciej Sobczak * www.msobczak.com * www.inspirel.com ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
