Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aJ22p-0003DR-Dv for pgsql-odbc@arkaria.postgresql.org; Tue, 12 Jan 2016 16:43:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aJ22o-0006vk-Ed for pgsql-odbc@arkaria.postgresql.org; Tue, 12 Jan 2016 16:43:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aJ22n-0006ve-TI for pgsql-odbc@postgresql.org; Tue, 12 Jan 2016 16:43:42 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aJ22k-0003nl-QM for pgsql-odbc@postgresql.org; Tue, 12 Jan 2016 16:43:40 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id AB32620A35 for ; Tue, 12 Jan 2016 11:43:37 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Tue, 12 Jan 2016 11:43:37 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=AMOjV/W9qcHL2cbV4fWLSKITgdI=; b=PtaMdU KuIAJfRyvG0NlF0S0ZzZegCLffgUqQEQgVJsLe+uhy65sDdRkXJAM9FyqQnIbqcM DkEZ9WDy61tlL2q2UmNYFlWk7z0uQvyFEXnFcRSMSpbxQWeWJ05Wc/dniXjlR+up 4/P0zMsFTqetzli/5itzkZnXUxOyexSU3e5ks= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=AMOjV/W9qcHL2cb V4fWLSKITgdI=; b=uf3da5i7KHRZ/hVmS2RDKWtD8XW3230syIhO5bRpGYLIuYf g4YeCA1vTNrw/20ur0pXZmcP059iWKuozbuEur6lIwKotCAQG6fyZgoVzhs6X2Ob J+ODk0/AhSHyIVmPY/KEu9x2908Lin0eVveFwp4dUORtGA2yQM34xc0eoWho= X-Sasl-enc: 4wj7yjFCg66w+SQioogOfQUsGA4fQa1vBZrJesZThS0E 1452617017 Received: from killi.site (c-71-197-254-155.hsd1.wa.comcast.net [71.197.254.155]) by mail.messagingengine.com (Postfix) with ESMTPA id 0EEED680119; Tue, 12 Jan 2016 11:43:36 -0500 (EST) Subject: Re: New 9.5.0100 does not work properly To: Walter Willmertinger , pgsql-odbc@postgresql.org References: <569438B3.10509@aklaver.com> <56952284.6000808@aklaver.com> From: Adrian Klaver Message-ID: <56952D69.7080604@aklaver.com> Date: Tue, 12 Jan 2016 08:44:25 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 01/12/2016 08:22 AM, Walter Willmertinger wrote: > I just installed the new psql-odbc-9-5..msi, started MS Access 2013 (64 As I understand the MSI's have been split out again, so which one did you install x86, x64, or the all-in-one package? > bit), opened a form where a Postgresql-table is connected by ODBC. So > long as I do just read data, all is working. When I try to update data > in this form (which is saved in the corresponding Postgresql-table), I > get the write conflict. > > After uninstalling psql.odbc in Windows "Program and Features) and > reinstalling the older 9-3 or 9.4 version, reading and updating is possible. From a specific package or the all-in-one installer? > > > Adrian Klaver > schrieb am Di., 12. Jan. 2016 um > 16:58 Uhr: > > On 01/12/2016 12:36 AM, Walter Willmertinger wrote: > > Ccing list, so more eyes can see this. > > > The "Write Conflict" is independent of the setting "row versioning". > > When I strted it was switched off. I switched to "On", but the > same result. > > What did you do in between? > > In other words did you disconnect/reconnect from the database, log > out/log in, rboot, etc? > > I have had issues with ODBC not catching changes to its conf, especially > when there is a live connection. > > > > > _Here is an excerpt from mylog:_ > > > > /[7.065]conn=000001F55B153090, query='SELECT > > > "KundenCode","DatumEreignis","AufnahmeDurchPersonalNr","WeiterAnPersonalNr","Status","Notiz","KdID","Prioritaet","ProgErledigt","update_cs","ZuletztBearbeitetPersonalNr" > > FROM "public"."Notizen" WHERE "KundenCode" = E'1' AND "KdID" = 83' > > [8.455]ParseAndDescribeWithLibpq: plan_name= query=UPDATE > > "public"."Notizen" SET "Notiz"=$1 WHERE "KundenCode" = $2 AND > "KdID" = > > $3 AND "DatumEreignis" = $4 AND "AufnahmeDurchPersonalNr" = $5 AND > > "WeiterAnPersonalNr" = $6 AND "Status" = $7 AND "Prioritaet" IS > NULL AND > > "ProgErledigt" = $8 AND "update_cs" = $9 AND > > "ZuletztBearbeitetPersonalNr" IS NULL > > [8.456]conn=000001F55B153090, query='BEGIN' > > [8.457]ParseWithLibpq: plan_name= query=UPDATE "public"."Notizen" SET > > "Notiz"=$1 WHERE "KundenCode" = $2 AND "KdID" = $3 AND > "DatumEreignis" = > > $4 AND "AufnahmeDurchPersonalNr" = $5 AND "WeiterAnPersonalNr" = > $6 AND > > "Status" = $7 AND "Prioritaet" IS NULL AND "ProgErledigt" = $8 AND > > "update_cs" = $9 AND "ZuletztBearbeitetPersonalNr" IS NULL > > [8.460]conn=000001F55B153090, query='UPDATE "public"."Notizen" SET > > "Notiz"=E'Test xxx' WHERE "KundenCode" = E'1' AND "KdID" = 83 AND > > "DatumEreignis" = E'2015-09-30 13:48:13'::timestamp AND > > "AufnahmeDurchPersonalNr" = 80 AND "WeiterAnPersonalNr" = 80 AND > > "Status" = E'E' AND "Prioritaet" IS NULL AND "ProgErledigt" = > E'0' AND > > "update_cs" = E'2015-09-30 13:48:15'::timestamp AND > > "ZuletztBearbeitetPersonalNr" IS NULL' > > [8.464]conn=000001F55B153090, query='ROLLBACK'/ > > On the face of it the above looks alright. I have seen issues such as > you describe with Access and Postgres when using fractional second > timestamps, but the above uses integer seconds. > > > > > _Here is my "ODBC.INI":_ > > /[ODBC 32 bit Data Sources]/ > > /PgSQL_CONSYS=PostgreSQL ANSI(x64) (32 bit) > > / > > /[PgSQL_CONSYS] > > / > > /Driver32=C:\Program Files\psqlODBC\0903\bin\psqlodbc30a.dll/ > > > > *But it's Access 2013 64-bit!* > > How did you install psqlodbc and from what source? > > Also what OS and version are you running on? > > I do not fully understand the 32/64 bit thing in Windows, so I will > point you at this: > > https://odbc.postgresql.org/faq.html#6.8 > > > > > _Here my registry settings for this ODBC-Entry:_ > > > > /[HKEY_CURRENT_USER\SOFTWARE\ODBC\ODBC.INI\PgSQL_CONSYS]/ > > /"Driver"="C:\\Program Files\\psqlODBC\\0903\\bin\\psqlodbc30a.dll"/ > > /"CommLog"="1"/ > > /"Debug"="0"/ > > /"Fetch"="100"/ > > /"Optimizer"="0"/ > > /"Ksqo"="1"/ > > /"UniqueIndex"="1"/ > > /"UseDeclareFetch"="0"/ > > /"UnknownSizes"="0"/ > > /"TextAsLongVarchar"="1"/ > > /"UnknownsAsLongVarchar"="0"/ > > /"BoolsAsChar"="1"/ > > /"Parse"="0"/ > > /"CancelAsFreeStmt"="0"/ > > /"MaxVarcharSize"="255"/ > > /"MaxLongVarcharSize"="8190"/ > > /"ExtraSysTablePrefixes"="dd_;"/ > > /"Description"="Access 64 Bit"/ > > /"Database"="consys"/ > > /"Servername"="col"/ > > /"Port"="5445"/ > > /"Username"="XXXXX"/ > > /"UID"="YYYYY"/ > > /"Password"="ZZZZZZ"/ > > /"ReadOnly"="0"/ > > /"ShowOidColumn"="0"/ > > /"FakeOidIndex"="0"/ > > /"RowVersioning"="0"/ > > /"ShowSystemTables"="0"/ > > /"Protocol"="7.4-1"/ > > /"ConnSettings"=""/ > > /"DisallowPremature"="0"/ > > /"UpdatableCursors"="0"/ > > /"LFConversion"="1"/ > > /"TrueIsMinus1"="1"/ > > /"BI"="0"/ > > /"AB"="0"/ > > /"ByteaAsLongVarBinary"="0"/ > > /"UseServerSidePrepare"="0"/ > > /"LowerCaseIdentifier"="0"/ > > /"GssAuthUseGSS"="0"/ > > /"SSLmode"="allow"/ > > /"XaOpt"="1"/ > > /"KeepaliveTime"="-1"/ > > /"KeepaliveInterval"="-1"/ > > > > > > Maybe this can help you in debugging? > > > > > > > > Adrian Klaver > > >> schrieb am Di., 12. Jan. 2016 um > > 00:21 Uhr: > > > > On 01/11/2016 06:26 AM, Walter Willmertinger wrote: > > > I installed the new version. Normal connection test was > OK, but > > not the > > > special connection test in "Page 3". > > > > > > Using a postgresql database (8.4.22) with MS Access 2013 > seemed > > to work, > > > but only read access. As soon as I try to change some > data, I get the > > > message "Another user has changed ...". > > > I uninstalled the new version and installed the last > release, now > > it is > > > working again. > > > > When you ran the new version did you see if Row Versioning > was checked? > > > > > > > > Regards, Walter > > > -- > > > > > > Viele Grüße > > > > > > Walter Willmertinger > > > > > > > > > -- > > Adrian Klaver > > adrian.klaver@aklaver.com > > > > > > -- > > > > Viele Grüße > > > > Walter Willmertinger > > > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > > -- > > Viele Grüße > > Walter Willmertinger > -- 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