Problem in SQLFreeHandle (Statement) - Mailing list pgsql-odbc

From Jade Koskela
Subject Problem in SQLFreeHandle (Statement)
Date
Msg-id CAN5Zvqz3WRSWFzNAZ0J3ftEib+u85g1GBqb=GMve3tHFz0jkLA@mail.gmail.com
Whole thread Raw
Responses Re: Problem in SQLFreeHandle (Statement)  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-odbc
Hello,
I am using psql-odbc 9.3 on OSX. I have one thread running a query, and another thread cancels the query using SQLCancel. The thread running the query successfully cancels and exits the driver code. When we try to free the statement handle, it blocks on a mutex doing ENTER_CONN_CS, or something similar in SQLFreeHandle.

Does anyone have any input on this problem? I don't see who is holding the mutex, the thread running the query is done.

Thanks!

pgsql-odbc by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Problem retrieving a numeric(38,0) value as SQL_NUMERIC_STRUCT if value needs to use all 16 SQLCHAR elements of the val array
Next
From: Craig Ringer
Date:
Subject: XA registry entries are missing from 64-bit install