[erlang-bugs] odbc:sql_query on 64 bit linux
Tobias Kräntzer
tobias.kraentzer@REDACTED
Tue May 6 09:48:28 CEST 2008
Hi,
while developing an application with erlang that should connect to
PostgreSQL over odbc I encountered a bug on the 64 bit Linux
implementation.
The Problem: The result from a query with odbc:sql_query/2 and
odbc:param_query/3 are not given back on a 64 bit Linux. Using
odbc:select_query/2 works. On 32 bit Linux, everything is ok.
>>> {ok, C} = odbc:connect(...).
{ok,<0.39.0>}
>>> odbc:sql_query(C, "select * from test").
[{selected,[],[]},{},{}]
With isql or similar I get my two rows.
Searching for a solution I found a post from Laura M. Castro [1]
describing the same problem, but now answer.
Is there anybody working on a solution or patch?
If not, I will give it a try.
Regards,
Tobias Kräntzer
[1] <http://forum.trapexit.org/viewtopic.php?t=14214>
--
Linux 2.6.22-14-xen #1 SMP x86_64 GNU/Linux (Debian Etch)
Erlang (ASYNC_THREADS) (BEAM) emulator version 5.5.5
odbc 2.0.7
postgresql 8.2
--
Dipl.-Ing. (FH) Tobias Kräntzer, Fraunhofer-Institut für Software- und Systemtechnik ISST
Location-based Services, Wissenschaftlicher Mitarbeiter
Mollstrasse 1, 10178 Berlin, Germany
Telefon: +49-30-24306-348
<mailto:tobias.kraentzer@REDACTED>
<http://www.isst.fraunhofer.de>
More information about the erlang-bugs
mailing list