two phase commit

From: Ben <bench(at)silentmedia(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: two phase commit
Date: 2007-07-19 22:13:27
Message-ID: Pine.LNX.4.64.0707191509310.27105@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm reading the description of PREPARE TRANSACTION, and I see this:

"...its state is fully stored on disk, and there is a very high
probability that it can be committed successfully..."

What corner case reduces 2pc from "guaranteed" to "very high probability"?
Is the worry if somebody leaves transactions in a prepared state for
weeks, only to find that deadlock issues has arrisen at final commit time?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-07-19 22:34:55 Re: two phase commit
Previous Message Michael P. Soulier 2007-07-19 18:50:21 Re: "template1" being accessed by other users