Login | Register
My pages Projects Community openCollabNet
Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author jwbernin
Full name John Berninger
Date 2003-07-08 06:46:05 PDT
Message On Tue, 08 Jul 2003, Frank Sweetser wrote:
> Taking a quick glance though the postgresql code, I only see explicit commit
> statements, no explicit rollback statements. How do the rollbacks get
> triggered on failure?
        When an exception is thrown, the code never reaches the commit.
When the thread dies, any uncommitted transactions are automatically
rolled back. The philosophy is "What isn't explicitly correct is
assumed to be incorrect and should be rolled back."


--
John Berninger

GPG Key ID: A8C1D45C
        Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C

Sit vis nobiscum.
--

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@curr​ent.tigris.org
For additional commands, e-mail: dev-help at current dot tigris dot org