From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Barry Baldwin <bbaldwin(at)indyme(dot)com> |
Cc: | pgsql-sql(at)postgreSQL(dot)org |
Subject: | Re: [SQL] TRANSACTIONS and TCP/IP |
Date: | 1999-12-16 03:42:32 |
Message-ID: | 23218.945315752@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Barry Baldwin <bbaldwin(at)indyme(dot)com> writes:
> 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.
I don't know anything about Delphi, but it sure sounds like something
in the interface software you're using is sending BEGIN and COMMIT
commands for you. This feature is commonly called autocommit --- look
for documentation on how to turn it off.
> 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?
No, connection type hasn't got anything to do with it...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Howie | 1999-12-16 05:51:45 | Re: [SQL] Deleting large objects from database. |
Previous Message | Tom Lane | 1999-12-16 03:00:27 | Re: [SQL] having with sub select? |