From: | Christian Bucanac <christian(dot)bucanac(at)mindark(dot)com> |
---|---|
To: | "'pgsql-odbc(at)postgresql(dot)org'" <pgsql-odbc(at)postgresql(dot)org> |
Subject: | RE: 64 bit integers |
Date: | 2001-04-18 09:51:03 |
Message-ID: | 5146853DD571D411AC54000102070D611C7E99@MINGBGNTS02 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-odbc |
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)
NativeErrorPointer: 0
MessageText: [Microsoft][ODBC Driver Manager] Driver does not support this
parameter
Do you know what I am doing wrong?
Thanks for your help!
Sincerely,
Christian Bucanac
-----Original Message-----
From: Christian Bucanac [mailto:christian(dot)bucanac(at)mindark(dot)com]
Sent: den 10 april 2001 15:57
To: 'pgsql-odbc(at)postgresql(dot)org'
Subject: [ODBC] 64 bit integers
Hi!
I wonder if you can use 64 bit integers with postgresql? I have checked
around a little. It seems like that postgresql supports 64 bit integers, but
the odbc driver does not. Is this correct, or is there a postgresql odbc
implementation for 64 bit integers? Any suggestions on how to proceed?
Thanks for your help!
Sincerely,
Christian Bucanac
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2001-04-18 09:58:00 | RE: Access '97 {oj ...} Left Join |
Previous Message | Henshall, Stuart - WCP | 2001-04-18 09:27:08 | RE: Access '97 {oj ...} Left Join |