X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 114EC329DB0 for ; Tue, 14 Sep 2004 20:13:54 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 96693-10 for ; Tue, 14 Sep 2004 19:13:51 +0000 (GMT) Received: from Mail2.KONTENT.De (mail2.kontent.de [81.88.34.59]) by svr1.postgresql.org (Postfix) with ESMTP id 45037329D91 for ; Tue, 14 Sep 2004 20:13:52 +0100 (BST) Received: from jedi.behrens.de (p508CD68B.dip0.t-ipconnect.de [80.140.214.139]) by Mail2.KONTENT.De (Postfix) with ESMTP id 6D45A388120 for ; Tue, 14 Sep 2004 21:13:51 +0200 (CEST) Received: from anakin (anakin.behrens.de [192.168.150.17]) by jedi.behrens.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with SMTP id i8EKhlJ12369 for ; Tue, 14 Sep 2004 22:43:47 +0200 Message-Id: <200409142043.i8EKhlJ12369@jedi.behrens.de> From: "Lothar Behrens" To: pgsql-odbc@postgresql.org Date: Tue, 14 Sep 2004 21:13:51 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: Quoted-printable Subject: (Fwd) Re: ODBC SQLSetPos Delete problem X-mailer: Pegasus Mail for Win32 (v3.01b) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/22 X-Sequence-Number: 4397 ------- Forwarded Message Follows ------- From: Self To: pgsql-odbc-owner@postgresql.org Subject: Re: [ODBC] ODBC SQLSetPos Delete problem Date sent: Tue, 14 Sep 2004 21:12:53 +0200 > > > > -----Original Message----- > From: pgsql-odbc-owner@postgresql.org on behalf of Lothar Behrens > Sent: Tue 9/14/2004 6:07 PM > To: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] ODBC SQLSetPos Delete problem > > > I can try to debug the ODBC library, but I do not understand the full > > source, so I need a little help. > > Unfortunately that is the problem - there isn't anyone left on the > project who really understands the source code, and in fact the cursor > code is very experimental and was one of the last features worked on by > the last guy that did know what he was doing :-( For that state, it works 'good' in my eyes :-) > > I have (very) limited time right now, but if you let me have some more > details of the problem I'll see if I can help at all (no promises > though). At my current understanding and with comparsion to other databases and their ODBC drivers (MSSQL), I would force a SQLSetPos(). [Microsoft][ODBC SQL Server Driver]Cursor operation conflict, SQLSTATE=3D01001 The ODBC documentation says, that no or more than one row were deleted or updated. But it really has deleted one row in my sample data. This driver didn't crash. As for my initial posting in this thread, I know where the crash happens and for my last posting, I know that a pointer has 0xdddddddd. Why not handle this pointer as a NULL pointer, because it might be deleted prior ? I would try this and also try to figure out when the pointer gets to 0xdddddddd and if I find a solution, it would help to fix this. Thanks Lothar > > Regards, Dave > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org > ---- My home: www.lollisoft.de ----------------------------- Lothar Behrens | Independent: lothar.behrens@gmx.de Rosmarinstr 3 | My public project: 40235 D=FCsseldorf | http://sourceforge.net/projects/lbdmf | -> Need comments, please visit :-)