Received: from bologna.nettuno.it (bologna.nettuno.it [193.43.2.1]) by hub.org (8.9.1/8.9.1) with ESMTP id IAA06471 for ; Wed, 13 Jan 1999 08:44:22 -0500 (EST) (envelope-from sferac@bo.nettuno.it) Received: from proxy.sferacarta.com (mail@sfcabop1.nettuno.it [193.207.10.213]) by bologna.nettuno.it (8.8.6/8.8.6/NETTuno 3.1) with ESMTP id OAA09025; Wed, 13 Jan 1999 14:43:34 +0100 (MET) Received: from blu.sferacarta.com (mail.sferacarta.com) [10.20.30.12] by proxy.sferacarta.com with smtp (Exim 2.05 #1 (Debian)) id 100RUc-000702-00; Wed, 13 Jan 1999 14:41:58 +0000 Date: Wed, 13 Jan 1999 14:44:28 +0100 From: Sferacarta Software X-Mailer: The Bat! (v1.017) UNREG Reply-To: Sferacarta Software Organization: Sferacarta Software Priority: Normal Message-ID: <18614.990113@bo.nettuno.it> To: Byron Nikolaidis , "pgsql-interfaces@postgreSQL.org" Subject: Re[2]: [INTERFACES] PSQLODBC and TRANSACTIONS References: <369B706B.BEE07230@insightdist.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Hello Byron, marted́, 12 gennaio 99, you wrote: BN> Jose' Soares wrote: >> Hi, >> >> I'm trying transactions using M$-access and PSQLODBC without success, >> Seems that backend locks itself >> by opening two connections to work on the same table. >> >> I have a table with 3 rows: >> >> codice nome cap >> --------------------------- >> 1 pippo 0 >> 2 pluto 0 >> 3 topolino 0 >> --------------------------- >> BN> The logfile shows that Access is using Manual Commit. The last two lines show a separate connection BN> being made and then a select statement on "operatori" table. But it is still locked from the other BN> connection. (see below) BN> I don't think there is anything the driver can do about this. You need Vladim's new locking code! I BN> think that is going to be in the next version of Postgres. BN> Byron BN> BN> BEGIN BN> UPDATE "operatori" SET "cap"='1' WHERE "codice" = '1 ' BN> SELECT "codice","cap" FROM "operatori" WHERE "codice" = '3 ' BN> UPDATE "operatori" SET "cap"='1' WHERE "codice" = '3 ' BN> SELECT "codice","cap" FROM "operatori" WHERE "codice" = '2 ' BN> UPDATE "operatori" SET "cap"='1' WHERE "codice" = '2 ' BN> BN> SQLDriverConnect(out)='DSN=PostgreSQL;DATABASE=hygea;SERVER=verde;PORT=5432;UID=marco;PWD=;READONLY=0;PROTOCOL=6.4;FAKEOIDINDEX=0;SHOWOIDCOLUMN=0;ROWVERSIONING=0;SHOWSYSTEMTABLES=0;CONNSETTINGS=set+ksqo+to+%27on%27%3b' BN> BN> SELECT "operatori"."codice" FROM "operatori" Thank you for reply Byron. I hope that v6.5 may solve my problem. -Jose'-