pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Page <dpage@vale-housing.co.uk>
To: lothar.behrens@lollisoft.de
To: pgsql-odbc@postgresql.org
Subject: Re: VARCHAR, CHAR types changed ?
Date: Sun, 27 Nov 2005 20:26:28 +0000
Message-ID: <BFAFC6F4.6763%dpage@vale-housing.co.uk> (raw)
In-Reply-To: <4387AACE.20965.12B6355@localhost>




On 25/11/05 11:22 pm, "lothar.behrens@lollisoft.de"
<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 





view thread (7+ messages)

Message-ID: <BFAFC6F4.6763%dpage@vale-housing.co.uk>
Permalink:  ../BFAFC6F4.6763%25dpage@vale-housing.co.uk/
Also on:    postgresql.org/message-id/BFAFC6F4.6763%dpage@vale-housing.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: dpage@vale-housing.co.uk, lothar.behrens@lollisoft.de
  Subject: Re: VARCHAR, CHAR types changed ?
  In-Reply-To: <BFAFC6F4.6763%dpage@vale-housing.co.uk>
  References: <4387AACE.20965.12B6355@localhost> <BFAFC6F4.6763%dpage@vale-housing.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox