Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdFhs-0002Ro-OV for pgsql-odbc@arkaria.postgresql.org; Thu, 24 Apr 2014 09:12:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WdFhs-0004C5-8r for pgsql-odbc@arkaria.postgresql.org; Thu, 24 Apr 2014 09:12:36 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdFhr-0004Bz-NB for pgsql-odbc@postgresql.org; Thu, 24 Apr 2014 09:12:35 +0000 Received: from smtp3-g21.free.fr ([212.27.42.3]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WdFho-0007cM-5N for pgsql-odbc@postgresql.org; Thu, 24 Apr 2014 09:12:34 +0000 Received: from [192.168.163.33] (unknown [78.234.252.95]) by smtp3-g21.free.fr (Postfix) with ESMTP id 85545A61C9 for ; Thu, 24 Apr 2014 11:12:07 +0200 (CEST) Message-ID: <5358D576.8060801@couderc.eu> Date: Thu, 24 Apr 2014 11:12:22 +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: pgsql-odbc@postgresql.org Subject: "Recordset is read-only" with wine and unixodbc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.5 (/) 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 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= 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