When converting the value zero, the result is wrong: it is converted to
"" or ".", depending on the precision.
The attached patch insures a zero to be added, so this converts to "0"
or "0."
Regards,
Andreas
RCS file: /usr/local/cvsroot/psqlodbc/psqlodbc/convert.c,v
retrieving revision 1.99
diff -r1.99 convert.c
2381c2381,2383
< if (ns->scale > 0)
---
> if (!newlen)
> chrform[newlen++] = '0';
> if (ns->scale > 0)