X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 40DD5DBE6A for ; Sun, 27 Nov 2005 16:26:31 -0400 (AST) 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 21252-05 for ; Sun, 27 Nov 2005 16:26:30 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id A3631DBE7F for ; Sun, 27 Nov 2005 16:26:28 -0400 (AST) Received: from mailgate.vale-housing.co.uk ([194.217.48.34] helo=vale-housing.co.uk) by anchor-post-35.mail.demon.net with esmtp (Exim 4.42) id 1EgSzz-000Lsq-HO for pgsql-odbc@postgresql.org; Sun, 27 Nov 2005 20:19:47 +0000 Received: from 84.13.247.74 ([84.13.247.74]) by ratbert.vale-housing.co.uk ([192.168.1.106]) with Microsoft Exchange Server HTTP-DAV ; Sun, 27 Nov 2005 20:26:30 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Sun, 27 Nov 2005 20:26:28 +0000 Subject: Re: VARCHAR, CHAR types changed ? From: Dave Page To: , Message-ID: Thread-Topic: [ODBC] VARCHAR, CHAR types changed ? Thread-Index: AcXzkNhRFxQMm1+EEdqnLgARJHpWaA== In-Reply-To: <4387AACE.20965.12B6355@localhost> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.253 required=5 tests=[AWL=0.000, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.253 X-Spam-Level: * X-Archive-Number: 200511/225 X-Sequence-Number: 6461 On 25/11/05 11:22 pm, "lothar.behrens@lollisoft.de" wrote: > Am 25 Nov 2005 um 20:27 hat lothar.behrens@lollisoft.de geschrieben: > > Hi, > > I probably have found the bug. It has to do with keysed driven cursors > activated. > After changing the lines in connection.c near 1500, I have got rid of the bug > in the > test program. Here is the code: > > if (create_keyset) > // res->next is a NULL pointer and as the macro set a TRUE value into > // this structure or what ever it is, this cause the bug. > // > // Must res->next be not NULL or is my variant correct ? > //QR_set_haskeyset(res->next); > QR_set_haskeyset(res); > > I still have another problem in my code after this change, but if this is not > the bug, > please let me know. Oh, I don't suppose you have the updateable cursors option turned on do you? That's experimental, and known to be buggy with keyset cursors: http://pgfoundry.org/tracker/index.php?func=detail&aid=1000413&group_id=1000 125&atid=538 Regards, Dave