pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Pierre Couderc <pierre@couderc.eu>
To: pgsql-odbc@postgresql.org
Subject: Re: "Recordset is read-only" with wine and unixodbc
Date: Fri, 25 Apr 2014 06:38:57 -0700
Message-ID: <535A6571.8040603@aklaver.com> (raw)
In-Reply-To: <5359FBBB.8070900@couderc.eu>
References: <5358D576.8060801@couderc.eu>
	<53591164.3000702@aklaver.com>
	<53593ED5.2040605@couderc.eu>
	<5359C741.5000703@aklaver.com>
	<5359FBBB.8070900@couderc.eu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 04/24/2014 11:07 PM, Pierre Couderc wrote:
>
> On 04/25/2014 04:24 AM, Adrian Klaver wrote:
>> On 04/24/2014 09:41 AM, Pierre Couderc wrote:

>>
>> A little searching found this:
>>
>> http://support.microsoft.com/kb/109218/EN-US
>>
>> So are you using a dynaset which is updateble or a snapshot which is
>> read only?
> Sorry, I am not a specialist of DB, and I had no idea of dynaset or
> snapshot...
> I have checked and my conclusion is that I have always used, with many
> MFC program under various Windows, snapshot recordsets "writeable".
> The doc which apply is
> http://msdn.microsoft.com/en-us/library/1hkkwdf0.aspx

In the page is this link that explains the recordsets:

http://msdn.microsoft.com/en-us/library/5sbfs6f1.aspx

which in turn has the link below with information on testing whether a 
recordset is updateable:

http://msdn.microsoft.com/en-us/library/z5139kz6.aspx


>>
> Yes, it is the same application.
> Mmm, it is difficult to incriminate wine : the circuit is very simple :
> wine sees nothing, and transmits to ODBC layer : unixodbc, whch may be
> the problem.
> Moreover ay my konwledge, recordset is not a ODBC concept, it is
> specific to MS.

And you are using MFC which is a MS product, which is why I figured that 
the problem lay there, not in psqlodbc.

> I shall try dynaset now.
> Thank you for the idea.
> But I am surprised to be alone to have this problem.

Happily, it did.

>
>
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (7+ messages)

Message-ID: <535A6571.8040603@aklaver.com>
Permalink:  ../535A6571.8040603@aklaver.com/
Also on:    postgresql.org/message-id/535A6571.8040603@aklaver.com

 · 

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: adrian.klaver@aklaver.com, pierre@couderc.eu
  Subject: Re: "Recordset is read-only" with wine and unixodbc
  In-Reply-To: <535A6571.8040603@aklaver.com>
  References: <5358D576.8060801@couderc.eu> <53591164.3000702@aklaver.com> <53593ED5.2040605@couderc.eu> <5359C741.5000703@aklaver.com> <5359FBBB.8070900@couderc.eu> <535A6571.8040603@aklaver.com>

* 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