Received: from danbo.digsys.bg (root@danbo.digsys.bg [192.92.129.10]) by hub.org (8.9.3/8.9.3) with ESMTP id EAA55862 for ; Thu, 16 Dec 1999 04:01:07 -0500 (EST) (envelope-from vlady@school.digsys.bg) Received: from school.digsys.bg (vlady@school.digsys.bg [193.68.6.1]) by danbo.digsys.bg (8.9.0/8.9.0) with ESMTP id LAA05892; Thu, 16 Dec 1999 11:01:00 +0200 (EET) Received: from localhost (vlady@localhost) by school.digsys.bg (8.8.5/8.8.5) with ESMTP id LAA06573; Thu, 16 Dec 1999 11:00:56 +0200 (EET) Date: Thu, 16 Dec 1999 11:00:55 +0200 (EET) From: Vladimir Terziev To: Barry Baldwin cc: pgsql-sql@postgreSQL.org Subject: Re: [SQL] TRANSACTIONS and TCP/IP In-Reply-To: <319A9588FB5ED2119FAC00A0C912E3292785A8@INDYMEEXCH> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII What kind of connection you use? Embeded SQL in your Delphi source ot ODBC? Vladmir On Wed, 15 Dec 1999, Barry Baldwin wrote: > Hi, > > I've got postgres 6.5.2 running on a Linux box and I'm developing a client > app in Delphi. The client sends SQL commands via TCP/IP. > I've tried starting a transaction by sending the BEGIN command and then I > update a table and then send a ROLLBACK command to try > and abort the transaction. It doesn't seem to be working. Even though I've > done a rollback the transaction still goes through. > > When I start the transaction I get this message on the Linux box console > NOTICE: BeginTransactionBlock and not in default state > > This indicates that there is a transaction already in process. I don't know > how that can be. > > When I issue the rollback command I get this message > NOTICE: UserAbortTransactionBlock and not in in-progress state > > This indicates that there is no transaction in progress. There sure should > be. > > I tried all of the above in psql and it works fine. Is this something that > just won't work over a TCP/IP connection? > > Any suggestions on how I can get transactions to work would be greatly > appreciated, > > TIA, > > Barry > > > > ************ > >