Barry Baldwin <bbaldwin@indyme.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