If I bind a 32 bit integer using SQL_INTEGER/SQL_C_LONG and pass a value of -1, the...
authorDave Page <dpage@pgadmin.org>
Thu, 4 Aug 2005 12:26:57 +0000 (12:26 +0000)
committerDave Page <dpage@pgadmin.org>
Thu, 4 Aug 2005 12:26:57 +0000 (12:26 +0000)
commit384d936a5e3802b5f45b8f24c26d0ec420712bc0
treeede54322c83bbf109d9ebc7bd611fc5a80d6294f
parent91dc4ffc2a00806872c9eb6eff6cb75750c6a371
If I bind a 32 bit integer using SQL_INTEGER/SQL_C_LONG and pass a value of -1, the insert fails with an 'integer out of range' error. The reason this happens is the sprintf near line 2658 of convert.c. [Kelly Burkhart]

http://archives.postgresql.org/pgsql-odbc/2005-03/msg00126.php
convert.c