X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4EE969DC829 for ; Tue, 24 Jan 2006 14:51:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67477-04 for ; Tue, 24 Jan 2006 14:51:42 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by postgresql.org (Postfix) with ESMTP id D9AF89DC841 for ; Tue, 24 Jan 2006 14:51:39 -0400 (AST) Received: from jedi.behrens.de (p5085BF2B.dip0.t-ipconnect.de [80.133.191.43]) by Mail2.KONTENT.De (Postfix) with ESMTP id B24EB388218 for ; Tue, 24 Jan 2006 19:51:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by jedi.behrens.de (Postfix) with ESMTP id 879AA23F29 for ; Tue, 24 Jan 2006 19:51:37 +0100 (CET) Received: from jedi.behrens.de ([127.0.0.1]) by localhost (jedi [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03727-04 for ; Tue, 24 Jan 2006 19:51:36 +0100 (CET) Received: from [192.168.150.239] (mac.behrens.de [192.168.150.239]) by jedi.behrens.de (Postfix) with ESMTP id BD2BB23E6A for ; Tue, 24 Jan 2006 19:51:36 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v623) In-Reply-To: <20060124133712.GC29619@soptik.pzkagis.cz> References: <1138056433.236326.34590@o13g2000cwo.googlegroups.com> <20060124121103.GA29043@soptik.pzkagis.cz> <20060124133712.GC29619@soptik.pzkagis.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <6002beac9cccdadac400c7865c7d88fd@lollisoft.de> Content-Transfer-Encoding: quoted-printable From: Lothar Behrens Subject: Re: Strange problem ? Date: Tue, 24 Jan 2006 19:51:36 +0100 To: pgsql-odbc@postgresql.org X-Mailer: Apple Mail (2.623) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.469 required=5 tests=[AWL=0.469] X-Spam-Score: 0.469 X-Spam-Level: X-Archive-Number: 200601/233 X-Sequence-Number: 7048 Am 24.01.2006 um 14:37 schrieb Ludek Finstrle: >> My wrappers code (AFTER calling SQLExecDirect(...)): > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This could be the problem. You open cursor and = then > you want change the type ... > > I'm not expert in this question. I don't use ODBC frequently. That didn't solved the problem, but I found it ! My last test was to get the current unixODBC source code. (2.2.11) Building and installing that beast and reinstalling the original driver=20= 07.03.0200 solved it. There IS a problem in the 2.2.8 driver ! And my last update via SuSE YOU didn't pull that version. That was the problem I really knew. But I didn't remember. > >> // Why this construct ?? >> SQLINTEGER csrType =3D SQL_CURSOR_KEYSET_DRIVEN; >> =09 >> SQLSetStmtAttr(hstmt, SQL_ATTR_CURSOR_TYPE, (SQLPOINTER) >> csrType, 0); >> >> Dave's sample works with KEYSET_DRIVEN cursors. > > Keyset driven cursor isn't full dynamic cursor (ODBC spec). > Keyset driven cursor doesn't detect added or deleted rows from > other transactions. I know. > > I'm sorry I can't help you more > > Luf > > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings > > -- Lothar Behrens | Rapid Prototyping ... Rosmarinstr 3 |=09 40235 D=FCsseldorf | www.lollisoft.de