Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdMiz-0008AX-QP for pgsql-odbc@arkaria.postgresql.org; Thu, 24 Apr 2014 16:42:13 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WdMiz-0000Yb-0X for pgsql-odbc@arkaria.postgresql.org; Thu, 24 Apr 2014 16:42:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdMiy-0000YU-6g for pgsql-odbc@postgresql.org; Thu, 24 Apr 2014 16:42:12 +0000 Received: from smtp3-g21.free.fr ([212.27.42.3]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdMiu-0005vH-LA for pgsql-odbc@postgresql.org; Thu, 24 Apr 2014 16:42:11 +0000 Received: from [192.168.163.33] (unknown [78.234.252.95]) by smtp3-g21.free.fr (Postfix) with ESMTP id 0693BA621D; Thu, 24 Apr 2014 18:41:41 +0200 (CEST) Message-ID: <53593ED5.2040605@couderc.eu> Date: Thu, 24 Apr 2014 18:41:57 +0200 From: Pierre Couderc User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 MIME-Version: 1.0 To: Adrian Klaver , pgsql-odbc@postgresql.org Subject: Re: "Recordset is read-only" with wine and unixodbc References: <5358D576.8060801@couderc.eu> <53591164.3000702@aklaver.com> In-Reply-To: <53591164.3000702@aklaver.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) 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 Thank you, but it changes nothing. On 04/24/2014 03:28 PM, Adrian Klaver wrote: > 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 >> >> > > -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc