Re: PostgreSQL and distributed transactions

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема Re: PostgreSQL and distributed transactions
Дата
Msg-id 4c54f53b.1864730a.7de6.1453@mx.google.com
обсуждение исходный текст
Ответ на Re: PostgreSQL and distributed transactions  (Dimitri Fontaine <dfontaine@hi-media.com>)
Ответы Re: PostgreSQL and distributed transactions  (Jayadevan M <Jayadevan.Maymala@ibsplc.com>)
Список 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

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: select a list of column values directly into an array
Следующее
От: John Krasnay
Дата:
Сообщение: Disk full and WALs