Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdgLM-0006ma-Eb for pgsql-odbc@arkaria.postgresql.org; Fri, 25 Apr 2014 13:39:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WdgLL-0007QM-Pn for pgsql-odbc@arkaria.postgresql.org; Fri, 25 Apr 2014 13:39:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdgLL-0007QG-2T for pgsql-odbc@postgresql.org; Fri, 25 Apr 2014 13:39:07 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdgLH-0002cU-4l for pgsql-odbc@postgresql.org; Fri, 25 Apr 2014 13:39:06 +0000 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 575D7214C8; Fri, 25 Apr 2014 09:38:59 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Fri, 25 Apr 2014 09:38:59 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; s=mesmtp; bh=ZN3gevLkT6r41IlYxDgZxgSwssc=; b=DjNQKFrsVcrSsvPYFza4SuPNUEry 44YsMuTSatvV2/bBd6aso4MRC+mmDnBb7TUiWD8zE7C3Gt1yn0usDWJFE8Y7jrrM oaTjcq1e9Aikyol2abwxsgl7qFIC4oyVf4Rj1p7OboZqgzB6wwQmgkDRIqTe6vyS sUoOXzQ8TbPISCE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=ZN3gevLkT6r41IlYxDgZxg Swssc=; b=cfR0l4U6pkIu52TrboExFUqMlvvOBnIbXm3oYOiF75llhCBSGfIyLt Z4QoeEBMtKBCgC2PhrL2+D67/LF6SGk0EDqxm21B7zeSTyh4fGhdMpvub9DaJrO8 V1AXY4LXvchLWLehdfG/qYLuylJNluMC3ktYcP+OtT7yq3WlbS0tE= X-Sasl-enc: 0K4pO0TFNCS5/DsittkAlCPkRjYUM7V1tW53sLqz2KIz 1398433139 Received: from panda.site (unknown [65.102.186.57]) by mail.messagingengine.com (Postfix) with ESMTPA id CF7236801B8; Fri, 25 Apr 2014 09:38:58 -0400 (EDT) Message-ID: <535A6571.8040603@aklaver.com> Date: Fri, 25 Apr 2014 06:38:57 -0700 From: Adrian Klaver User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Pierre Couderc , pgsql-odbc@postgresql.org Subject: Re: "Recordset is read-only" with wine and unixodbc References: <5358D576.8060801@couderc.eu> <53591164.3000702@aklaver.com> <53593ED5.2040605@couderc.eu> <5359C741.5000703@aklaver.com> <5359FBBB.8070900@couderc.eu> In-Reply-To: <5359FBBB.8070900@couderc.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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