[Pxlib-devel] TImestamps rendered as negative numbers on CentOS 5
Brought to you by:
steinm
From: Kenneth P. <sh...@se...> - 2007-11-26 16:48:08
|
I'm running px2sql on CentOS 5 and finding that timestamps are getting rendered like this: 2001-10-09 -3:-14:-8 I suspect this is arising due to signed/unsigned issues with the "%" (modulo) operator. Additionally, this needs to be quoted because the date will otherwise be interpreted as a numeric expression by some SQL parsers (notably PostgreSQL's psql). I'll try to attach a patch for pxlib to address the sign issue. |