Re: PostgreSQL and distributed transactions - Mailing list pgsql-general

From Joshua Tolley
Subject Re: PostgreSQL and distributed transactions
Date
Msg-id 4c54f53b.1864730a.7de6.1453@mx.google.com
Whole thread Raw
In response to Re: PostgreSQL and distributed transactions  (Dimitri Fontaine <dfontaine@hi-media.com>)
Responses Re: PostgreSQL and distributed transactions
List pgsql-general
On Thu, Jul 29, 2010 at 11:42:14AM +0200, Dimitri Fontaine wrote:
> Jayadevan M <Jayadevan.Maymala@ibsplc.com> writes:
> > But the initial setup for the client is done by 'Admin' and in that
> > work-flow, we need distributed transactions. The transaction will start
> > from the 'Admin" server, do some inserts on the 'Client' server and then
> > either rollback or commit on both the servers. Is it possible to do this
> > with PostgreSQL? Any helpful links?
>
> See about 2 Phase Commit, but you will need a transaction manager I guess :
>
>   http://www.postgresql.org/docs/current/static/sql-prepare-transaction.html
>

If I may be allowed to toot my own horn, may I suggest this as an example:
http://blog.endpoint.com/2010/07/distributed-transactions-and-two-phase.html

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

Attachment

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: select a list of column values directly into an array
Next
From: John Krasnay
Date:
Subject: Disk full and WALs