pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vladimir Terziev <vlady@school.digsys.bg>
To: Barry Baldwin <bbaldwin@indyme.com>
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] TRANSACTIONS and TCP/IP
Date: Thu, 16 Dec 1999 11:00:55 +0200 (EET)
Message-ID: <Pine.BSI.4.20.9912161059540.6460-100000@school.digsys.bg> (raw)
In-Reply-To: <319A9588FB5ED2119FAC00A0C912E3292785A8@INDYMEEXCH>


   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
> 
> 
> 
> ************
> 
> 




view thread (5+ messages)  latest in thread

Message-ID: <Pine.BSI.4.20.9912161059540.6460-100000@school.digsys.bg>
Permalink:  ../Pine.BSI.4.20.9912161059540.6460-100000@school.digsys.bg/
Also on:    postgresql.org/message-id/Pine.BSI.4.20.9912161059540.6460-100000@school.digsys.bg

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: vlady@school.digsys.bg, bbaldwin@indyme.com
  Subject: Re: [SQL] TRANSACTIONS and TCP/IP
  In-Reply-To: <Pine.BSI.4.20.9912161059540.6460-100000@school.digsys.bg>
  References: <319A9588FB5ED2119FAC00A0C912E3292785A8@INDYMEEXCH> <Pine.BSI.4.20.9912161059540.6460-100000@school.digsys.bg>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox