[unixODBC-support] Postgres SQL_C_SBIGINT

Nick Gorham nick at easysoft.com
Fri Aug 13 15:25:35 BST 2004


Roger M Strandberg / Unisoft wrote:

> Hi
> 
> There migth be another bug, or at leats some inconsistens
> 
> In declarations for SQL
> 
> The SQL_C_SBIGINT  becomes -25 (SQL_BIGINT(-5) + SQL_SIGNED_OFFSET(-20)).
> 
> To run the SQLGetData or the SQLBindCol with type as SQL_C_SBIGINT will
> always crash the Fetch.

Just looked at the 7.2.5 postgres driver source, it supports 
SQL_C_SBIGINT, but interestingly only on windows.

Likewise I think they have done something similar to you to map the 
FLOAT8 to a SQL_DOUBLE.

-- 
Nick Gorham
Easysoft Limited



More information about the unixODBC-support mailing list