From: | "Jim C(dot) Nasby" <decibel(at)decibel(dot)org> |
---|---|
To: | David Flegl <ml_flegl(at)centrum(dot)cz> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: How to use 2PC? |
Date: | 2007-05-14 18:55:07 |
Message-ID: | 20070514185506.GX69517@nasby.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On Mon, May 14, 2007 at 10:23:19AM +0200, David Flegl wrote:
> Hi,
> I need to use two phase commit transaction. For connection to other databases I use contribution dblink. But I don't know how to use correctly PREPARE TRANSACTION. I need to rollback transaction on others db's when one fails. But how I'll know it? Documentation says nothing about it. How can I get result if PREPARE TRANSACTION failed or passed?
>
> If some links or help you have, I will be thanks a lot.
2PC by itself isn't terribly useful... you need a transaction manager
riding herd on top of it, and transaction managers are fairly complex in
their own right.
--
Jim Nasby decibel(at)decibel(dot)org
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Saunders | 2007-05-14 21:23:04 | Invalid byte sequence for encoding "UTF8" |
Previous Message | Chris Browne | 2007-05-14 17:54:20 | Re: Ocaml as a Postgresql Procedural Language? |