How to use 2PC?

From: "David Flegl" <ml_flegl(at)centrum(dot)cz>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: How to use 2PC?
Date: 2007-05-14 08:23:19
Message-ID: 200705141023.3722@centrum.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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.

David

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Brian Hurt 2007-05-14 15:00:05 Ocaml as a Postgresql Procedural Language?
Previous Message Loredana Curugiu 2007-05-14 07:57:38 Re: Count rows group by time intervals