Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdJhF-0006cQ-GM for pgsql-odbc@arkaria.postgresql.org; Thu, 24 Apr 2014 13:28:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WdJhE-0005uX-Ro for pgsql-odbc@arkaria.postgresql.org; Thu, 24 Apr 2014 13:28:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdJhD-0005uQ-Rv for pgsql-odbc@postgresql.org; Thu, 24 Apr 2014 13:28:12 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdJhA-0002O3-99 for pgsql-odbc@postgresql.org; Thu, 24 Apr 2014 13:28:11 +0000 Received: from compute6.internal (compute6.nyi.mail.srv.osa [10.202.2.46]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id CF152212E5 for ; Thu, 24 Apr 2014 09:28:05 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 24 Apr 2014 09:28:05 -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=bWzN7RpU6y1L433/nv58X39QW6E=; b=AYaJJb1ZzuGPfaSk6Pmr9Srx9Mcv NNIvcJcrzfuVXy+Cxzs1r0tuCHcuZV8k+ci1At2pG3e07bG1owOv87kGLPxz3NmK J+bx6ngtkYEEF04IfnIsSVOAY8K0SaTL2arSIK78Bcv0oaS6ptbkR5E+MqES5tMi oREfx440Gms5oG8= 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=bWzN7RpU6y1L433/nv58X3 9QW6E=; b=E6OPCAQFO3LL1nyXookVNZHs16YqTlSRONnvO0pYG/zz6TwOm5b/hG /4HesrfXr4u2WDpUUhRY+RvwjeKvFEkPoitpkYpJAtb/m/gGW7jQgfY2BUrXIW1d qdYOjL79U+zr9e7KZx1g0hHZL0zQ6m/cQ0/6ZYccaQaeCGrn/S6t4= X-Sasl-enc: 5lySRwAUlFiyGSz3rAZDplBRvE72ymg1NuE8evk/Q0B7 1398346085 Received: from panda.site (unknown [65.102.186.57]) by mail.messagingengine.com (Postfix) with ESMTPA id 52F21C007B6; Thu, 24 Apr 2014 09:28:05 -0400 (EDT) Message-ID: <53591164.3000702@aklaver.com> Date: Thu, 24 Apr 2014 06:28:04 -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> In-Reply-To: <5358D576.8060801@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 02:12 AM, Pierre Couderc wrote: > I am trying to excute under wine an application (MFC VC6++) which works > fine under Windows (XP,7...), using ODBC and window pgsqlodbc. I try to > use it under unix pgsqlodbc and unixodbx (under debian jessie amd64). > I hade some difficults to connect under i386 architecture but now it > works fine, except when I try to modify a record of the table with a > Crecordset. > > I get the a "Recordset is read only" message on an application that > works fine under windows. > I use for odbc.ini : > > [Mydatabase] > Description=PostgreSQL > Driver=PostgreSQL ANSI > Trace=Yes > TraceFile=/tmp/psqlodbc.log > Database=mydatabase > Servername=10.8.0.1 > UserName=uuuu > Password=pppp > Port=5432 > ReadOnly=No > RowVersioning=No > ShowSystemTables=No > ShowOidColumn=No > FakeOidIndex=No > ConnSettings= Try setting: RowVersioning=Yes > > Thank you for your help. > I can modify the source of the application if it is needed. I have tried > to use dynamic cursor but I got the result that it is not supported by > the driver. > > PC > > -- 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