Re: VARCHAR, CHAR types changed ?

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: <lothar(dot)behrens(at)lollisoft(dot)de>, <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: VARCHAR, CHAR types changed ?
Date: 2005-11-27 20:26:28
Message-ID: BFAFC6F4.6763%dpage@vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On 25/11/05 11:22 pm, "lothar(dot)behrens(at)lollisoft(dot)de"
<lothar(dot)behrens(at)lollisoft(dot)de> wrote:

> Am 25 Nov 2005 um 20:27 hat lothar(dot)behrens(at)lollisoft(dot)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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message noreply 2005-11-27 21:52:51 [ psqlodbc-Bugs-1000444 ] Table names repeated in BDE with usedeclarefetch=1
Previous Message Jay Doggett 2005-11-26 23:21:27 Re: Seeting up a DSN programatically