pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lothar Behrens <lothar.behrens@lollisoft.de>
To: pgsql-odbc@postgresql.org
Subject: Re: Strange problem ?
Date: Tue, 24 Jan 2006 19:51:36 +0100
Message-ID: <6002beac9cccdadac400c7865c7d88fd@lollisoft.de> (raw)
In-Reply-To: <20060124133712.GC29619@soptik.pzkagis.cz>
References: <1138056433.236326.34590@o13g2000cwo.googlegroups.com>
	<20060124121103.GA29043@soptik.pzkagis.cz>
	<c52b0b85411b4e61e455ee31f787c5e6@lollisoft.de>
	<20060124133712.GC29619@soptik.pzkagis.cz>


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 
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 = SQL_CURSOR_KEYSET_DRIVEN;
>> 	
>> 	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 
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
>
--
Lothar Behrens	|	Rapid Prototyping ...
Rosmarinstr 3		|	
40235 Düsseldorf  	|	www.lollisoft.de





view thread (5+ messages)

Message-ID: <6002beac9cccdadac400c7865c7d88fd@lollisoft.de>
Permalink:  ../6002beac9cccdadac400c7865c7d88fd@lollisoft.de/
Also on:    postgresql.org/message-id/6002beac9cccdadac400c7865c7d88fd@lollisoft.de

 · 

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: lothar.behrens@lollisoft.de
  Subject: Re: Strange problem ?
  In-Reply-To: <6002beac9cccdadac400c7865c7d88fd@lollisoft.de>
  References: <1138056433.236326.34590@o13g2000cwo.googlegroups.com> <20060124121103.GA29043@soptik.pzkagis.cz> <c52b0b85411b4e61e455ee31f787c5e6@lollisoft.de> <20060124133712.GC29619@soptik.pzkagis.cz> <6002beac9cccdadac400c7865c7d88fd@lollisoft.de>

* 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