BUG #5242: ODBC driver v8.4.1 crashed - Mailing list pgsql-bugs

From Gerhard Lutz
Subject BUG #5242: ODBC driver v8.4.1 crashed
Date
Msg-id 200912140757.nBE7vNxe060519@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5242: ODBC driver v8.4.1 crashed  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5242
Logged by:          Gerhard Lutz
Email address:      gerhard.lutz@mbtech-group.com
PostgreSQL version: 8.4.1
Operating system:   Windows XP
Description:        ODBC driver v8.4.1 crashed
Details:

Hello,
in my application the PostgreSQL ODBC driver v8.4.1 sometimes crashed when
accessing a PostgreSQL v8.3.6 server.
I want to read out data from a column of type "TEXT". I use a simple SQL
query "SELECT prg FROM testdata WHERE id=1234".
Inside the following C call

rcode = ::SQLGetData(m_hStmt, nCol, SQL_C_CHAR, m_szString, nBufSize,
&sdODataLength);

the psqlodbc35w.dll crashes (probably depending on the column data).
I've got Mini Dumps of these crashes. Just tell me if you need them.

Do you already know something about this problem?
Best regards,
Gerhard

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5240: Stable Functions that return a table type with a dropped column fail
Next
From: Nagy Daniel
Date:
Subject: Re: BUG #5238: frequent signal 11 segfaults