Re: 64 bit integers
От | Hiroshi Inoue |
---|---|
Тема | Re: 64 bit integers |
Дата | |
Msg-id | 3ADE4A7F.D9A72C78@tpf.co.jp обсуждение исходный текст |
Ответ на | RE: 64 bit integers (Christian Bucanac <christian.bucanac@mindark.com>) |
Список | pgsql-odbc |
Christian Bucanac wrote: > > Hi! > > I posted earlier a question about int8 and ODBC, see below. I got the answer > that int8 works with ODBC driver version 07.01.0001 and later. The problem > is that I can not make it work. I use postgres version 6.4 with ODBC driver > version 07.01.00.04. Everyting works fine, but not with int8. When I try to > bind an int8 with: > > SQLHSTMT lStatementHandle; > SQLINTEGER lMetadata; > SQLBIGINT lInt64; > SQLBindCol(lStatementHandle, 1, SQL_C_SBIGINT, &lInt64, sizeof(lInt64), > &lMetadata); > > SQLBindCol returns SQL_ERROR and when I run SQLGetDiagRec on the statement > handle I get the following information: > SQLState: S1003 (meaning Invalid application buffer type) It seems that version 3.0 or later is required to handle SQL_C_SBIGINT. Unfortunately psqlodbc's driver version is 2.5. regards, Hiroshi Inoue
В списке pgsql-odbc по дате отправления: