Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLdhM-0004BX-Bb for pgsql-odbc@arkaria.postgresql.org; Thu, 06 Mar 2014 19:11:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WLdhL-0004sX-RZ for pgsql-odbc@arkaria.postgresql.org; Thu, 06 Mar 2014 19:11:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLdhK-0004qW-S6 for pgsql-odbc@postgresql.org; Thu, 06 Mar 2014 19:11:14 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WLdhG-00081b-Et for pgsql-odbc@postgresql.org; Thu, 06 Mar 2014 19:11:13 +0000 Received: from sc9-mailhost2.vmware.com (sc9-mailhost2.vmware.com [10.113.161.72]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id 0F759284A6; Thu, 6 Mar 2014 11:11:06 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (zcs-prod-ext-mta-2.vmware.com [10.113.62.224]) by sc9-mailhost2.vmware.com (Postfix) with ESMTP id 060A6B0143; Thu, 6 Mar 2014 11:11:01 -0800 (PST) Received: from zcs-prod-ext-mta-2.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTP id 724A3C005E; Thu, 6 Mar 2014 11:10:58 -0800 (PST) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-2.vmware.com (Postfix) with ESMTPSA; Thu, 6 Mar 2014 11:10:55 -0800 (PST) Message-ID: <5318C83F.3050306@vmware.com> Date: Thu, 06 Mar 2014 21:10:55 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Przemyslaw Rzepecki CC: pgsql-odbc@postgresql.org Subject: Re: SQLFetchScroll with SQL_ATTR_ROWS_FETCHED_PTR closing statement. References: <1385453596.4529.206.camel@salti.rnd.ki.sw.ericsson.se> <5315E154.3080406@vmware.com> <1394125507.15011.18.camel@salti.rnd.ki.sw.ericsson.se> In-Reply-To: <1394125507.15011.18.camel@salti.rnd.ki.sw.ericsson.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 03/06/2014 07:05 PM, Przemyslaw Rzepecki wrote: > Hi, > > Thanks for the answer! I have compare my program with Yours didn't > noticed any logical difference. Then tried rerun the tests on two > different systems, any my tests ware passing on one but the errors ware > still present on the other. > > Tried to step by step eliminate all the differences and I believe its > the libodbcinst.so.2 vs libodbcinst.so.1 which cause the difference. It > works fine with unixodbc 1 but when I use a driver recompiled against > unixodbc 2 then the error happens. > > Could You let me know which odbc libraries You use on your system? Is it > possible for someone else to retest with odbc2 libraries? I use what ships with Debian. Seems to be unixodbc 2.3.1. Seems odd. I don't think the driver depends on libodbcinst.so. Could it be caused by some kind of confusion between 32-bit and 64-bit versions of libraries? Where did those libraries come from? - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc