Skip site navigation (1) Skip section navigation (2)

hang at SQLAllocStmt

From: marian(at)byteanywhere(dot)com
To: pgsql-odbc(at)postgresql(dot)org
Subject: hang at SQLAllocStmt
Date: 2012-03-04 07:21:18
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc


    I am running into a death lock with iODBC for function SQLAllocStmt().
The stack in the always the same and it hangs when SQLAllocStmt() is reached.

    The same code works with unixODBC. Is there any way to baypass that
lock ? Anyone seen this problem before ?

#0  0x00007f2113f4ec74 in __lll_lock_wait () from
#1  0x00007f2113f4a179 in _L_lock_953 () from
#2  0x00007f2113f49f9b in pthread_mutex_lock () from
#3  0x00007f2116580f72 in SQLAllocStmt (hdbc=0x2dd47c0, phstmt=0x80) at
#4  0x00007f2116580a08 in SQLAllocStmt_Internal (hdbc=0x2a03670,
phstmt=0x2d91750) at hstmt.c:241
#5  0x00007f2116590d32 in SQLAllocHandle (handleType=3,
inputHandle=0x2a03670, outputHandlePtr=0x2d91750) at odbc3.c:276


pgsql-odbc by date

Next:From: Radhesh Krishnan KDate: 2012-03-06 11:04:19
Subject: asynchronous support
Previous:From: Ganesh BorseDate: 2012-02-29 04:52:02
Subject: Re: Request for help on retrieving binary data from bytea column using ODBC calls

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group