Re: How to use 2PC?
| От | Jim C. Nasby |
|---|---|
| Тема | Re: How to use 2PC? |
| Дата | |
| Msg-id | 20070514185506.GX69517@nasby.net обсуждение |
| Ответ на | How to use 2PC? ("David Flegl" <ml_flegl@centrum.cz>) |
| Список | 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'tknow how to use correctly PREPARE TRANSACTION. I need to rollback transaction on others db's when one fails. But howI'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@decibel.org EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
В списке pgsql-novice по дате отправления: